What options do I need to pass to compile something to /usr/lib64?

Posted by Phillip Oldham on Server Fault See other posts from Server Fault or by Phillip Oldham
Published on 2010-04-30T12:25:47Z Indexed on 2010/04/30 12:37 UTC
Read the original article Hit count: 237

Filed under:
|
|

I'm trying to install a newer version of libevent than is on my machine, so I can install memcached. However, the install for memcached complains that the libevent library isn't in /usr/lib64 and that it isn't 64bit.

What options do I need to pass to ./configure to get it to compile as 64bit and/or into the /usr/lib64 directory?

This is what I have at the moment:

CHOST="x86_64-pc-linux-gnu" CFLAGS="-O2" CXX=gcc CXXFLAGS="-O2" \
CC=gcc CXX=gcc \
./configure --prefix=/usr

Thanks!

© Server Fault or respective owner

Related posts about 64-bit

Related posts about linux