Issue with updating PHP-FPM 7.4

seb_dev

Verified User
Joined
Jan 27, 2021
Messages
10
Hi there,

I am having issues with updating PHP.

PHP ends with the following error:

/usr/bin/ld: warning: libssl.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libssl.so.1.1
/usr/bin/ld: warning: libssl.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libssl.so.1.1
/usr/bin/ld: warning: libssl.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libssl.so.1.1
/usr/bin/ld: warning: libcrypto.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libcrypto.so.1.1
/usr/bin/ld: warning: libcrypto.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libcrypto.so.1.1
/usr/bin/ld: warning: libcrypto.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libcrypto.so.1.1
/usr/bin/ld: ext/openssl/.libs/openssl.o: undefined reference to symbol 'RAND_egd@@libcrypto.so.10'
//usr/lib64/libcrypto.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [sapi/litespeed/php] Error 1
*** The make has failed. Exiting...

I am trying to see how to make libssh2.so.1 work with libssl.so.1.1 and libcrypto.so.1.1, or even use a different version of libssh2 to make it work but no luck. Currently version libssh2 1.10 is installed. I am pretty sure if it gets to work with libssl.so.1.1 and libcrypto.so.1.1 things will work out. If you have any other solutions let me know.

Maybe some useful info from my /usr/lib64/:

libcrypto.a
libcrypto.so -> libcrypto.so.1.1.1k
libcrypto.so.10 -> libcrypto.so.1.0.2k
libcrypto.so.1.0.2k
libcrypto.so.1.1 -> libcrypto.so.1.1.1k
libcrypto.so.1.1.1k
libssh2.so -> libssh2.so.1.0.1
libssh2.so.1 -> libssh2.so.1.0.1
libssh2.so.1.0.1
libssh.so.4 -> libssh.so.4.4.0
libssh.so.4.4.0
libssh_threads.so.4 -> libssh_threads.so.4.4.0
libssh_threads.so.4.4.0
libssl3.so
libssl.a
libssl.so -> libssl.so.1.1.1k
libssl.so.10 -> libssl.so.1.0.2k
libssl.so.1.0.2k
libssl.so.1.1 -> libssl.so.1.1.1k
libssl.so.1.1.1k
libzip.so.2 -> libzip.so.2.1.0
libzip.so.2.1.0

If any symbolic links are wrong also please let me know. I think the issue is libssh2.so is using libssh2.so.1.0.1, but there is no libssh2.so.1.1.1? I should note, I was able to update Exim and Dovecot.

Thanks.
 
Last edited:
how do you install Openssl 1.1.1 ?, maybe this is Centos 7 and install second openssl to get http2 work ?
 
how do you install Openssl 1.1.1 ?, maybe this is Centos 7 and install second openssl to get http2 work ?
I've installed it with yum install openssl11

I was able to update exim and dovecot.

This is indeed on CentOS Linux release 7.9.2009 (Core)
 
Last edited:
This has been solved. I removed libzip and installed libzip5 and libzip5-tools

So now the libzip part in my /usr/lib64/ looks like this:

libzip.so -> libzip.so.5
libzip.so.5 -> libzip.so.5.5
libzip.so.5.5

and /usr/local/lib64 like this:

libcrypto.so -> /usr/lib64/libcrypto.so
libssl.a
libssl.so -> /usr/lib64/libssl.so
libzip.so.5 -> /usr/lib64/libzip.so.5.5

Just for anyone who has the same issue. The libssh2 warnings still show, but updating works.
 
Last edited:
Back
Top