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