Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

How to dynamic link openssl

$
0
0
I try to compile nginx with a own openssl version but i keep getting the following error:

make -f objs/Makefile
make[1]: Entering directory `/root/nginx-1.10.2'
cd /usr/local/ulyaoth/ssl/openssl1.1.0 \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/usr/local/ulyaoth/ssl/openssl1.1.0/.openssl no-shared \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: line 2: ./config: No such file or directory
make[1]: *** [/usr/local/ulyaoth/ssl/openssl1.1.0/.openssl/include/openssl/ssl.h] Error 127
make[1]: Leaving directory `/root/nginx-1.10.2'
make: *** [build] Error 2

The problem is it keep adding this ".openssl" in between.

How can I compile nginx to use my open ssl dynamically?

I have tried the following way:
./configure --with-http_ssl_module --with-openssl=/usr/local/ulyaoth/ssl/openssl1.1.0

and
./configure --with-cc-opt="-I/usr/local/ulyaoth/ssl/openssl1.1.0/include" --with-ld-opt="-L /usr/local/ulyaoth/ssl/openssl1.1.0/lib" --with-http_ssl_module --with-openssl=/usr/local/ulyaoth/ssl/openssl1.1.0

but neither of them will compile nginx.

Any help would be great.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>