Re: Apache start up error after compiling OpenSSL and PHP8.1.29

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

 



On 14/10/24 12:48, Jack Swale wrote:
httpd: Syntax error on line 150 of /usr/local/apache2/conf/httpd.conf: Cannot load modules/libphp.so into server: ld.so.1: httpd: fatal: relocation error: file /usr/local/apache2/modules/libphp.so: symbol EVP_md2: referenced symbol not found

/usr/local/apache2/modules

garnet(150) $ ldd libphp.so

libresolv.so.2 =>/usr/lib/libresolv.so.2

librt.so.1 =>/usr/lib/librt.so.1

libldap-2.4.so.2 =>/usr/local/lib/libldap-2.4.so.2

libiconv.so.2 =>/usr/local/lib/libiconv.so.2

libm.so.2 =>/usr/lib/libm.so.2

libnsl.so.1 =>/usr/lib/libnsl.so.1

libsocket.so.1 =>/usr/lib/libsocket.so.1

libpthread.so.1 =>/usr/lib/libpthread.so.1

libssl.so.1.0.0 =>/usr/local/ssl/lib/libssl.so.1.0.0

libcrypto.so.1.0.0 =>/usr/local/ssl/lib/libcrypto.so.1.0.0

libz.so =>/usr/local/lib/libz.so

libxml2.so.2 =>/usr/local/lib/libxml2.so.2

libgcc_s.so.1 =>/usr/local/gcc4/lib/libgcc_s.so.1

libc.so.1 =>/usr/lib/libc.so.1

libaio.so.1 =>/lib/libaio.so.1

libmd.so.1 =>/lib/libmd.so.1

liblber-2.4.so.2 =>/usr/local/lib/liblber-2.4.so.2

libgen.so.1 =>/usr/lib/libgen.so.1

libsasl2.so.3 =>/usr/local/lib/libsasl2.so.3

libmp.so.2 =>/lib/libmp.so.2

libscf.so.1 =>/lib/libscf.so.1

libdl.so.1 =>/lib/libdl.so.1

libdoor.so.1 =>/lib/libdoor.so.1

libuutil.so.1 =>/lib/libuutil.so.1

/lib/libm/libm_hwcap1.so.2

/platform/sun4v/lib/libc_psr.so.1

/platform/sun4v/lib/libmd_psr.so.1

garnet(220) $ strings libcrypto.so.1.0.0 | grep EVP

EVP part of OpenSSL 1.0.2zi1 Aug 2023


You probably need to include (in envvars file or similar) the path in LD_LIBRARY_PATH to the correct openssl libs those php libs were compiled against.


--
-Daniel
Find help at #httpd in Libera.chat


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