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

mike mike503 at
Fri Dec 12 04:28:51 MSK 2008

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.

On Thu, Dec 11, 2008 at 4:39 PM, Maxim Dounin <mdounin at> wrote:
> Hello!
> On Thu, Dec 11, 2008 at 03:01:26PM -0800, Yazz Atlas wrote:
>> I am unable to compile nginx with SSL support under CentOS 5.2 x86_64
>> currently.
>> ./configure --prefix=/opt/nginx --with-openssl=/usr/lib64 \
>>                  --with-md5=/usr/lib64 --with-sha1=/usr/lib64 \
>>                  --with-http_ssl_module
> Configure options '--with-openssl', '--with-md5' and '--with-sha1'
> define paths to appropriate library *sources* and should be
> used only if you want to compile them with nginx itself.  For
> obvious reasons your configure string is wrong.
> Use --with-cc-opt and --with-ld-opt instead as appropriate.  Something
> like this will probably do the trick:
> ./configure --prefix=/opt/nginx \
>    --with-ld-opt="-L /usr/lib64" \
>    --with-http_ssl_module
> Maxim Dounin

More information about the nginx mailing list