Compiling Apache with Non-System OpenSSL

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

 



Hi,

Having some trouble compiling Apache with non-system OpenSSL, any help
appreciated. Looked at many threads online but no answers so far.

I'm compiling Apache using non-system-installed libraries for APR,
APR-Util, OpenSSL and PCRE. It works fine, and compiles from the
provided libraries. However, httpd then can't find the OpenSSL
libraries.

I'm compiling with...

./configure \
        --prefix=${PREFIX} \
        --with-included-apr \
        --with-pcre=${BASE_DIR}/pcre/bin/pcre-config \
        --with-ssl=${BASE_DIR}/openssl

Which works fine, but then httpd isn't linked to the OpenSSL libraries
as it is for PCRE.

ldd...
        libssl.so.1.1 => not found
        libcrypto.so.1.1 => not found
        libpcre.so.1 => /path/to/pcre/lib/libpcre.so.1 (0x00007f01cde04000)

Is there any way I can resolve this without having to add the location
to LD_LIBRARY_PATH?

Thanks
Nigel

---------------------------------------------------------------------
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