解决 php 在 ubuntu 下 no version information available (required by php)
程序员文章站
2022-07-08 14:46:01
...
ubuntu 编译安装 php /usr/local/openssl/lib/libcrypto.so.1.0.0: no version information available (required by php)
编译安装 php , 在命令行运行 php -v 报错
php: /usr/local/openssl/lib/libssl.so.1.0.0: no version information available (required by php)
php: /usr/local/openssl/lib/libssl.so.1.0.0: no version information available (required by php)
php: /usr/local/openssl/lib/libssl.so.1.0.0: no version information available (required by php)
php: /usr/local/openssl/lib/libcrypto.so.1.0.0: no version information available (required by php)
php: /usr/local/openssl/lib/libcrypto.so.1.0.0: no version information available (required by php)
php: /usr/local/openssl/lib/libcrypto.so.1.0.0: no version information available (required by php)
php: /usr/local/openssl/lib/libssl.so.1.0.0: no version information available (required by /usr/local/curl/lib/libcurl.so.4)
php: /usr/local/openssl/lib/libssl.so.1.0.0: no version information available (required by /usr/local/curl/lib/libcurl.so.4)
php: /usr/local/openssl/lib/libssl.so.1.0.0: no version information available (required by /usr/local/curl/lib/libcurl.so.4)
php: /usr/local/openssl/lib/libcrypto.so.1.0.0: no version information available (required by /usr/local/curl/lib/libcurl.so.4)
解决办法 :
rm /usr/local/openssl/lib/libssl.so.1.0.0
rm /usr/local/openssl/lib/libcrypto.so.1.0.0