欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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

相关标签: php ubuntu