On Wed, Apr 7, 2021 at 10:56 PM Shariful Alam <dipto...@gmail.com> wrote: > > Yes, I'm looking for libssl. But not the default one. Here, you can see that > my mod_ssl.so is still linked with the default libssl. However, during httpd > installation, I use the following configuration, > > CFLAGS='-DSSL_EXPERIMENTAL_ENGINE -DSSL_ENGINE -DOPENSSL_LOAD_CONF' > ./configure --prefix=/etc/apache2 --enable-ssl --with-ssl=/opt/openssl/ssl > --with-pcre=/usr/local/pcre --enable-so > > so, my understanding is, with the above configuration, after a successful > build, my mod_ssl should be linked with the libssl.so (/opt/openssl/ssl) not > with the default (/lib/x86_64-linux-gnu/)
Try adding LDFLAGS='-L/opt/openssl/ssl/lib -Wl,-rpath,/opt/openssl/ssl/lib' here too in addition to (or even instead of) the CFLAGS. Regards; Yann. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org