Problem compiling nginx-0-6-34 on CentOS 5.2 x86_64
mike503 at gmail.com
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 mdounin.ru> wrote:
> 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
>> ./configure --prefix=/opt/nginx --with-openssl=/usr/lib64 \
>> --with-md5=/usr/lib64 --with-sha1=/usr/lib64 \
> 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" \
> Maxim Dounin
More information about the nginx