VPS侦探论坛

 找回密码
 注册
查看: 1125|回复: 3

lnmp2.0安装失败

[复制链接]
发表于 2023-8-25 16:07:30 | 显示全部楼层 |阅读模式

本帖最后由 999999 于 2023-8-25 16:16 编辑


安装日志:
https://cowtransfer.com/s/09120c22c5f749
输入传输口令 ca39mn 查看;


系统版本:
  1. NAME="Kylin Linux Advanced Server"
  2. VERSION="V10 (Tercel)"
  3. ID="kylin"
  4. VERSION_ID="V10"
  5. PRETTY_NAME="Kylin Linux Advanced Server V10 (Tercel)"
  6. ANSI_COLOR="0;31"
复制代码



美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2023-8-26 11:50:22 | 显示全部楼层


[ 68%] Linking CXX shared library libmysqlclient.so
/usr/bin/ld: ../archive_output_directory/libclientlib.a(sha2_password_common.cc.o): in function `sha2_password::SHA256_digest::retrieve_digest(unsigned char*, unsigned int)':
/mnt/data/tars/lnmp2.0/src/mysql-5.7.42/sql/auth/sha2_password_common.cc:122: undefined reference to `EVP_MD_CTX_reset'
/usr/bin/ld: ../archive_output_directory/libclientlib.a(sha2_password_common.cc.o): in function `sha2_password::SHA256_digest::init()':
/mnt/data/tars/lnmp2.0/src/mysql-5.7.42/sql/auth/sha2_password_common.cc:149: undefined reference to `EVP_MD_CTX_new'
/usr/bin/ld: /mnt/data/tars/lnmp2.0/src/mysql-5.7.42/sql/auth/sha2_password_common.cc:160: undefined reference to `EVP_MD_CTX_free'
/usr/bin/ld: ../archive_output_directory/libclientlib.a(sha2_password_common.cc.o): in function `sha2_password::SHA256_digest::deinit()':
/mnt/data/tars/lnmp2.0/src/mysql-5.7.42/sql/auth/sha2_password_common.cc:175: undefined reference to `EVP_MD_CTX_free'
/usr/bin/ld: ../archive_output_directory/libclientlib.a(sha2_password_common.cc.o): in function `sha2_password::SHA256_digest::retrieve_digest(unsigned char*, unsigned int)':
/mnt/data/tars/lnmp2.0/src/mysql-5.7.42/sql/auth/sha2_password_common.cc:122: undefined reference to `EVP_MD_CTX_reset'
/usr/bin/ld: /mnt/data/tars/lnmp2.0/src/mysql-5.7.42/sql/auth/sha2_password_common.cc:122: undefined reference to `EVP_MD_CTX_reset'
/usr/bin/ld: ../archive_output_directory/libvio.a(viossl.c.o): in function `ssl_do':
/mnt/data/tars/lnmp2.0/src/mysql-5.7.42/vio/viossl.c:392: undefined reference to `SSL_set_options'
/usr/bin/ld: /mnt/data/tars/lnmp2.0/src/mysql-5.7.42/vio/viossl.c:392: undefined reference to `SSL_set_options'
/usr/bin/ld: ../archive_output_directory/libvio.a(viosslfactories.c.o): in function `new_VioSSLFd':
/mnt/data/tars/lnmp2.0/src/mysql-5.7.42/vio/viosslfactories.c:549: undefined reference to `TLS_server_method'
/usr/bin/ld: /mnt/data/tars/lnmp2.0/src/mysql-5.7.42/vio/viosslfactories.c:560: undefined reference to `SSL_CTX_set_options'
/usr/bin/ld: /mnt/data/tars/lnmp2.0/src/mysql-5.7.42/vio/viosslfactories.c:566: undefined reference to `SSL_CTX_set_ciphersuites'
/usr/bin/ld: ../archive_output_directory/libvio.a(viosslfactories.c.o): in function `get_dh2048':
/mnt/data/tars/lnmp2.0/src/mysql-5.7.42/vio/viosslfactories.c:131: undefined reference to `DH_set0_pqg'
/usr/bin/ld: ../archive_output_directory/libvio.a(viosslfactories.c.o): in function `new_VioSSLFd':
/mnt/data/tars/lnmp2.0/src/mysql-5.7.42/vio/viosslfactories.c:549: undefined reference to `TLS_client_method'
/usr/bin/ld: ../archive_output_directory/libvio.a(viosslfactories.c.o): in function `mysql_OPENSSL_init':
/mnt/data/tars/lnmp2.0/src/mysql-5.7.42/include/my_openssl.h:57: undefined reference to `OPENSSL_init_ssl'
/usr/bin/ld: ../archive_output_directory/libvio.a(viosslfactories.c.o): in function `ssl_start':
/mnt/data/tars/lnmp2.0/src/mysql-5.7.42/vio/viosslfactories.c:443: undefined reference to `OPENSSL_init_crypto'
/usr/bin/ld: /mnt/data/tars/lnmp2.0/src/mysql-5.7.42/vio/viosslfactories.c:444: undefined reference to `OPENSSL_init_ssl'
collect2: error: ld returned 1 exit status
make[2]: *** [libmysql/CMakeFiles/libmysql.dir/build.make:99: libmysql/libmysqlclient.so.20.3.29] Error 1
make[1]: *** [CMakeFiles/Makefile2:1613: libmysql/CMakeFiles/libmysql.dir/all] Error 2

。。。。。。


/usr/bin/ld: warning: libicuuc.so.67, needed by /usr/lib/gcc/arm-linux-gnueabihf/10/../../../arm-linux-gnueabihf/libxml2.so, may conflict with libicuuc.so.60
/usr/bin/ld: warning: libicuuc.so.67, needed by /usr/lib/gcc/arm-linux-gnueabihf/10/../../../arm-linux-gnueabihf/libxml2.so, may conflict with libicuuc.so.60
/usr/bin/ld: warning: libicuuc.so.67, needed by /usr/lib/gcc/arm-linux-gnueabihf/10/../../../arm-linux-gnueabihf/libxml2.so, may conflict with libicuuc.so.60
Generating phar.php
/root/lnmp2.0/src/php-5.4.45/sapi/cli/php: error while loading shared libraries: libicudata.so.60: cannot open shared object file: No such file or directory
make: *** [Makefile:366: ext/phar/phar.php] Error 127

你系统上的openssl可能改动过

另外你这系统上可能还有其他版本的libicu
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2023-8-29 10:39:20 | 显示全部楼层

请求如何该修改?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2023-8-31 08:38:23 | 显示全部楼层



999999 发表于 2023-8-29 10:39
请求如何该修改?

卸载掉安装的openssl和系统上多的libicu,重启后再安装试一下看看
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-4-22 00:47 , Processed in 0.026614 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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