打印

4.18 内核安装php报错

4.18 内核安装php报错

CentOS 7:Linux server-status 4.18.1-1.el7.elrepo.x86_64 #1 SMP Wed Aug 15 16:28:40 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
附件: 您所在的用户组无法下载或查看附件

TOP

引用:
/root/lnmp/src/php-7.3.0/ext/iconv/iconv.c:993: undefined reference to `libiconv_open'
/root/lnmp/src/php-7.3.0/ext/iconv/iconv.c:1021: undefined reference to `libiconv'
/root/lnmp/src/php-7.3.0/ext/iconv/iconv.c:1135: undefined reference to `libiconv_close'
ext/phar/.libs/util.o: In function `phar_verify_signature':
/root/lnmp/src/php-7.3.0/ext/phar/util.c:1561: undefined reference to `EVP_MD_CTX_new'
/root/lnmp/src/php-7.3.0/ext/phar/util.c:1593: undefined reference to `EVP_MD_CTX_free'
/root/lnmp/src/php-7.3.0/ext/phar/util.c:1584: undefined reference to `EVP_MD_CTX_free'
ext/phar/.libs/util.o: In function `phar_create_signature':
/root/lnmp/src/php-7.3.0/ext/phar/util.c:1858: undefined reference to `EVP_MD_CTX_new'
/root/lnmp/src/php-7.3.0/ext/phar/util.c:1890: undefined reference to `EVP_MD_CTX_free'
ext/xmlrpc/libxmlrpc/.libs/encodings.o: In function `convert':
/root/lnmp/src/php-7.3.0/ext/xmlrpc/libxmlrpc/encodings.c:65: undefined reference to `libiconv_open'
/root/lnmp/src/php-7.3.0/ext/xmlrpc/libxmlrpc/encodings.c:72: undefined reference to `libiconv'
/root/lnmp/src/php-7.3.0/ext/xmlrpc/libxmlrpc/encodings.c:88: undefined reference to `libiconv_close'
/root/lnmp/src/php-7.3.0/ext/xmlrpc/libxmlrpc/encodings.c:88: undefined reference to `libiconv_close'
collect2: error: ld returned 1 exit status
lnmp都有针对这个的修复,还报错就只能换其他版本或发行版试试
也有可能与自己升级过openssl版本有关

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP

回复 2# 的帖子

用yum安装/卸载了openssl和openssl-devel都无法编译,内核降到3.10也不行,在另外的机器却可以编译出来

TOP