【待反馈】安装php7.3报错
centos 7.9之前有php7.0现在再安装一个php7.3时,报错如下:
/bin/ld: warning: libssl.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libssl.so.1.1
/bin/ld: warning: libssl.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libssl.so.1.1
/bin/ld: warning: libssl.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libssl.so.1.1
/bin/ld: ext/openssl/.libs/openssl.o: undefined reference to symbol 'SSL_library_init@@libssl.so.10'
//usr/lib64/libssl.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
您好,根据您的日志信息显示,您安装的时候的库版本信息不对
您应该是需要libssl10的
如果你没有安装libssl.so.10,你需要安装它。这通常意味着你需要在你的Linux发行版中找到对应的OpenSSL 1.0.x包并安装。例如,在基于Debian的系统上,你可以使用apt来安装:
sudo apt-get update
sudo apt-get install libssl1.0.0
页:
[1]