帮忙看下php升级失败原因,谢谢
php5.6升级php7.2.22失败。附件是错误日志,请帮忙看下失败原因,谢谢。linux系统是Redhat7的。
开始以为是openssl的问题,重新安装了openssl后还是一样的。不知道哪里出问题了。 /soft/lnmp16/src/php-7.2.22/ext/ftp/php_ftp.c:323: undefined reference to `OPENSSL_init_ssl'
/soft/lnmp16/src/php-7.2.22/ext/ftp/php_ftp.c:324: undefined reference to `OPENSSL_init_crypto'
/soft/lnmp16/src/php-7.2.22/ext/ftp/php_ftp.c:325: undefined reference to `OPENSSL_init_crypto'
/soft/lnmp16/src/php-7.2.22/ext/ftp/php_ftp.c:326: undefined reference to `OPENSSL_init_crypto'
/soft/lnmp16/src/php-7.2.22/ext/ftp/php_ftp.c:328: undefined reference to `OPENSSL_init_ssl'
ext/ftp/.libs/ftp.o: In function `ftp_login':
/soft/lnmp16/src/php-7.2.22/ext/ftp/ftp.c:277: undefined reference to `TLS_client_method'
/soft/lnmp16/src/php-7.2.22/ext/ftp/ftp.c:286: undefined reference to `SSL_CTX_set_options'
ext/gd/libgd/.libs/gdkanji.o: In function `do_convert':
/soft/lnmp16/src/php-7.2.22/ext/gd/libgd/gdkanji.c:349: undefined reference to `libiconv_open'
/soft/lnmp16/src/php-7.2.22/ext/gd/libgd/gdkanji.c:364: undefined reference to `libiconv'
/soft/lnmp16/src/php-7.2.22/ext/gd/libgd/gdkanji.c:380: undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_dtor':
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:2587: undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:2608: undefined reference to `libiconv_open'
ext/iconv/.libs/iconv.o: In function `_php_iconv_strlen':
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:747: undefined reference to `libiconv_open'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:771: undefined reference to `libiconv'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:805: undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `_php_iconv_appendl':
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:470: undefined reference to `libiconv'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:504: undefined reference to `libiconv'
ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_decode':
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1497: undefined reference to `libiconv_open'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:2019: undefined reference to `libiconv_close'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:2022: undefined reference to `libiconv_close'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1635: undefined reference to `libiconv_close'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1638: undefined reference to `libiconv_open'
ext/iconv/.libs/iconv.o: In function `_php_iconv_substr':
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:868: undefined reference to `libiconv_open'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:892: undefined reference to `libiconv'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:947: undefined reference to `libiconv_close'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:951: undefined reference to `libiconv_close'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:900: undefined reference to `libiconv_open'
ext/iconv/.libs/iconv.o: In function `_php_iconv_mime_encode':
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1186: undefined reference to `libiconv_open'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1200: undefined reference to `libiconv_open'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1371: undefined reference to `libiconv'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1403: undefined reference to `libiconv'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1459: undefined reference to `libiconv_close'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1462: undefined reference to `libiconv_close'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1318: undefined reference to `libiconv'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1270: undefined reference to `libiconv'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1302: undefined reference to `libiconv'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1446: undefined reference to `libiconv'
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_append_bucket':
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:2652: undefined reference to `libiconv'
ext/iconv/.libs/iconv.o:/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:2725: more undefined references to `libiconv' follow
ext/iconv/.libs/iconv.o: In function `php_iconv_string':
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:576: undefined reference to `libiconv_open'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:585: undefined reference to `libiconv'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:601: undefined reference to `libiconv'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:611: undefined reference to `libiconv_close'
ext/iconv/.libs/iconv.o: In function `_php_iconv_strpos':
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:995: undefined reference to `libiconv_open'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1023: undefined reference to `libiconv'
/soft/lnmp16/src/php-7.2.22/ext/iconv/iconv.c:1137: undefined reference to `libiconv_close'
ext/phar/.libs/util.o: In function `phar_verify_signature':
/soft/lnmp16/src/php-7.2.22/ext/phar/util.c:1563: undefined reference to `EVP_MD_CTX_new'
/soft/lnmp16/src/php-7.2.22/ext/phar/util.c:1595: undefined reference to `EVP_MD_CTX_free'
/soft/lnmp16/src/php-7.2.22/ext/phar/util.c:1586: undefined reference to `EVP_MD_CTX_free'
ext/phar/.libs/util.o: In function `phar_create_signature':
/soft/lnmp16/src/php-7.2.22/ext/phar/util.c:1860: undefined reference to `EVP_MD_CTX_new'
/soft/lnmp16/src/php-7.2.22/ext/phar/util.c:1892: undefined reference to `EVP_MD_CTX_free'
ext/xmlrpc/libxmlrpc/.libs/encodings.o: In function `convert':
/soft/lnmp16/src/php-7.2.22/ext/xmlrpc/libxmlrpc/encodings.c:65: undefined reference to `libiconv_open'
/soft/lnmp16/src/php-7.2.22/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv'
/soft/lnmp16/src/php-7.2.22/ext/xmlrpc/libxmlrpc/encodings.c:93: undefined reference to `libiconv_close'
/soft/lnmp16/src/php-7.2.22/ext/xmlrpc/libxmlrpc/encodings.c:93: undefined reference to `libiconv_close'
你openssl动过肯定是有影响的,前面都已经报错了
libiconv的问题lnmp的脚本已经有适配的命令还报错就无解,也有可能是openssl导致的连锁反应 licess 发表于 2019-11-5 10:59
你openssl动过肯定是有影响的,前面都已经报错了
libiconv的问题lnmp的脚本已经有适配的命令还报错就无解 ...
军哥你好,如果openssl有问题,怎么修复呢?如何重新安装? jami918 发表于 2019-11-5 11:22
军哥你好,如果openssl有问题,怎么修复呢?如何重新安装?
不清楚你怎么装的openssl没法说
一般升级系统自动的建议都是只安装供程序另外调用使用不直接动系统自带的
页:
[1]