VPS侦探论坛

 找回密码
 注册
查看: 2346|回复: 2

Ubantu16.04 LNMP安装失败

[复制链接]
发表于 2022-1-4 19:09:17 | 显示全部楼层 |阅读模式


只有Nginx安装成功,麻烦大佬帮忙看看是什么问题,谢谢!

log日志下载地址为:
[url=]https://wss1.cn/f/7a6juemvv9q[/url]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-1-5 08:10:25 | 显示全部楼层


-- OPENSSL_INCLUDE_DIR = /root/anaconda3/include
-- OPENSSL_LIBRARY = /root/anaconda3/lib/libssl.so
-- CRYPTO_LIBRARY = /root/anaconda3/lib/libcrypto.so
-- OPENSSL_MAJOR_VERSION = 1
-- OPENSSL_MINOR_VERSION = 01
-- OPENSSL_FIX_VERSION = 01
-- Looking for SHA512_DIGEST_LENGTH
-- Looking for SHA512_DIGEST_LENGTH - found
-- SSL_LIBRARIES = /root/anaconda3/lib/libssl.so;/root/anaconda3/lib/libcrypto.so;dl
。。。。

ext/intl/breakiterator/.libs/codepointiterator_internal.o.data.rel.ro._ZTIN3PHP22CodePointBreakIteratorE[_ZTIN3PHP22CodePointBreakIteratorE]+0x10): undefined reference to `typeinfo for icu_58::BreakIterator'
ext/intl/breakiterator/.libs/codepointiterator_internal.o.data.rel.ro._ZTVN3PHP22CodePointBreakIteratorE[_ZTVN3PHP22CodePointBreakIteratorE]+0xa8): undefined reference to `icu_58::BreakIterator::getRuleStatus() const'
ext/intl/breakiterator/.libs/codepointiterator_internal.o.data.rel.ro._ZTVN3PHP22CodePointBreakIteratorE[_ZTVN3PHP22CodePointBreakIteratorE]+0xb0): undefined reference to `icu_58::BreakIterator::getRuleStatusVec(int*, int, UErrorCode&)'
ext/phar/.libs/util.o: In function `phar_verify_signature':
/home/zhiyong/lnmp1.8-full/src/php-7.2.34/ext/phar/util.c:1563: undefined reference to `EVP_MD_CTX_new'
/home/zhiyong/lnmp1.8-full/src/php-7.2.34/ext/phar/util.c:1595: undefined reference to `EVP_MD_CTX_free'
/home/zhiyong/lnmp1.8-full/src/php-7.2.34/ext/phar/util.c:1586: undefined reference to `EVP_MD_CTX_free'
ext/phar/.libs/util.o: In function `phar_create_signature':
/home/zhiyong/lnmp1.8-full/src/php-7.2.34/ext/phar/util.c:1860: undefined reference to `EVP_MD_CTX_new'
/home/zhiyong/lnmp1.8-full/src/php-7.2.34/ext/phar/util.c:1892: undefined reference to `EVP_MD_CTX_free'
ext/xmlrpc/libxmlrpc/.libs/encodings.o: In function `convert':
/home/zhiyong/lnmp1.8-full/src/php-7.2.34/ext/xmlrpc/libxmlrpc/encodings.c:65: undefined reference to `libiconv_open'
/home/zhiyong/lnmp1.8-full/src/php-7.2.34/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv'
/home/zhiyong/lnmp1.8-full/src/php-7.2.34/ext/xmlrpc/libxmlrpc/encodings.c:93: undefined reference to `libiconv_close'
/home/zhiyong/lnmp1.8-full/src/php-7.2.34/ext/xmlrpc/libxmlrpc/encodings.c:93: undefined reference to `libiconv_close'


估计是你系统上安装的anaconda3导致的安装失败,最主要的是你将anaconda3加到了PATH里
解决方法:/root/.bashrc 最后面 anaconda3 部分的配置删掉或者注释掉,再关闭ssh终端,如果还使用了screen,screen需要exit,再重新ssh登录,再重新安装lnmp
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-1-5 10:40:58 | 显示全部楼层

licess 发表于 2022-1-5 08:10
估计是你系统上安装的anaconda3导致的安装失败,最主要的是你将anaconda3加到了PATH里
解决方法:/root/. ...

已解决,感谢军哥
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-6 07:17 , Processed in 0.025499 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表