Problem compiling nginx-0-6-34 on CentOS 5.2 x86_64

Arvind Jayaprakash work at anomalizer.net
Fri Dec 12 23:04:03 MSK 2008


mike wrote:
> I believe I had issues on RHEL 5.x myself, and I solved it by removing
> the 32-bit libraries (most things I were compiling were confused
> between the 64-bit and 32-bit and it wound up mixing the two,
> resulting in compilation errors)
> 
> I wish they would work like Ubuntu which has made it pure 64-bit
> without default installing 32-bit libs as well.

Does passing the "-m64" to gcc help (--with-cc-opt)? It clearly tells 
gcc that you intend to make a64 bit elf object. That might be cleaner 
than explicitly choosing all the lib64 paths.





More information about the nginx mailing list