Hello,
I'm trying to install httpd from the source code. I have also install
OpenSSL 1.1.1c from source code and I want httpd to use this OpenSSL
library. However, while installing httpd, even mentioning httpd to
configuring with my newly installed OpenSSL seems not working. Seeking
advice from experts.

I use the following configuration to install *OpenSSL-1.1.1c*

   - ./config --prefix=/opt/openssl -DOPENSSL_LOAD_CONF
   --openssldir=/opt/openssl/ssl

And following configuration to install *httpd-2.4.46*

   - 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

After installation, I check *httpd *binary. But I'm not seeing any *OpenSSL
*library link,


*root@xxxx:/etc/apache2/bin# ldd httpd *
linux-vdso.so.1 =>  (0x00007fffe4df9000)
libpcre.so.1 => /usr/local/pcre/lib/libpcre.so.1 (0x00007ff2ad391000)
libaprutil-1.so.0 => /usr/local/apr/lib/libaprutil-1.so.0
(0x00007ff2ad16b000)
libapr-1.so.0 => /usr/local/apr/lib/libapr-1.so.0 (0x00007ff2acf38000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007ff2acd1b000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff2ac951000)
libexpat.so.0 => /usr/local/apr/lib/libexpat.so.0 (0x00007ff2ac729000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007ff2ac4f1000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff2ac2ed000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff2ad5ae000)

Any comment on what I'm doing wrong?  And How can I fix it?

Regards,
Shariful Alam

Reply via email to