Re: Re: Help: Building httpd from source with specific (different then system default) OpenSSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <ylavic.dev@xxxxxxxxx> wrote:
On Wed, Apr 7, 2021 at 10:56 PM Shariful Alam <dipto181@xxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux