nginx build with OpenSSL 1.0.1

Samael nginx-forum at
Wed Mar 14 19:35:09 UTC 2012

Hello, community,

I'm having trouble compiling nginx against OpenSSL 1.0.1. When I compile
OpenSSL manually, I have no problems, everything is fine, but when
trying to compile nginx with the --with-openssl option the compilation
fails with the following message:

make[4]: Leaving directory
if [ -n "" ]; then \
                (cd ..; make; \
make[3]: Leaving directory
make[2]: Leaving directory `/usr/src/redhat/SOURCES/openssl-1.0.1'
make[1]: ***
Error 2

When I try to do a "make all" from openssl-1.0.1/crypto without cleaning
the source tree, it fails with:

cc -I. -I.. -I../include  -g   -c -o mem_clr.o mem_clr.c
ar r ../libcrypto.a cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o
cpt_err.o ebcdic.o uid.o o_time.o o_str.o o_dir.o o_fips.o o_init.o
fips_ers.o mem_clr.o
[ -z "" ] || ar r ../libcrypto.a fipscanister.o
../libcrypto.a || echo Never mind.
/bin/sh: ../libcrypto.a: Permission denied
Never mind.
make: *** [subdirs] Error 1

Does anyone have an idea how to properly address this?

Posted at Nginx Forum:,223843,223843#msg-223843

More information about the nginx mailing list