Compiling with a custom SSL library
Ryan B
mp3geek at gmail.com
Mon May 16 08:01:34 MSD 2011
Decided to compile my own copy of openssl (dev snapshot) which is
stored in /usr/local/ssl ,...but nginx isn't detecting it :(
root at server:/usr/local/ssl# ls -al
total 48
drwxr-xr-x 9 root root 4096 2011-05-15 22:15 .
drwxr-xr-x 13 root root 4096 2011-05-15 22:13 ..
drwxr-xr-x 2 root root 4096 2011-05-15 22:15 bin
drwxr-xr-x 2 root root 4096 2011-05-15 22:15 certs
drwxr-xr-x 3 root root 4096 2011-05-15 22:15 include
drwxr-xr-x 4 root root 4096 2011-05-15 22:15 lib
drwxr-xr-x 6 root root 4096 2011-05-15 22:13 man
drwxr-xr-x 2 root root 4096 2011-05-15 22:15 misc
-rw-r--r-- 1 root root 10819 2011-05-15 22:15 openssl.cnf
drwxr-xr-x 2 root root 4096 2011-05-15 22:15 private
Tried combinations of --with-openssl=/usr/local/ssl and /usr/local
root at server:~/nginx-1.0.2# make
make -f objs/Makefile
make[1]: Entering directory `/root/nginx-1.0.2'
cd /usr/local/ssl \
&& make clean \
&& ./config --prefix=/usr/local/ssl/.openssl no-shared no-threads \
&& make \
&& make install LIBDIR=lib
make[2]: Entering directory `/usr/local/ssl'
make[2]: *** No rule to make target `clean'. Stop.
make[2]: Leaving directory `/usr/local/ssl'
make[1]: *** [/usr/local/ssl/.openssl/include/openssl/ssl.h] Error 2
make[1]: Leaving directory `/root/nginx-1.0.2'
make: *** [build] Error 2
What is the correct ssl dir I need to point it to?
More information about the nginx
mailing list