Hi Yann,
It works!. Thanks. I'm a noob, I was trying to fix this for the past two
days. At some point, I believe I tried with the LDFLAGS too. But I can see
that I was using LDFLAGS incorrectly. Thanks for the help.

Regards,
Shariful Alam

On Wed, Apr 7, 2021 at 3:02 PM Yann Ylavic <[email protected]> wrote:

> On Wed, Apr 7, 2021 at 10:56 PM Shariful Alam <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to