xiao053 发表于 2022-1-4 19:09:17

Ubantu16.04 LNMP安装失败


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

log日志下载地址为:
https://wss1.cn/f/7a6juemvv9q

licess 发表于 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+0x10): undefined reference to `typeinfo for icu_58::BreakIterator'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:(.data.rel.ro._ZTVN3PHP22CodePointBreakIteratorE+0xa8): undefined reference to `icu_58::BreakIterator::getRuleStatus() const'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:(.data.rel.ro._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

xiao053 发表于 2022-1-5 10:40:58

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

已解决,感谢军哥
页: [1]
查看完整版本: Ubantu16.04 LNMP安装失败