999999 发表于 2023-8-25 16:07:30

lnmp2.0安装失败

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


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


系统版本:
NAME="Kylin Linux Advanced Server"
VERSION="V10 (Tercel)"
ID="kylin"
VERSION_ID="V10"
PRETTY_NAME="Kylin Linux Advanced Server V10 (Tercel)"
ANSI_COLOR="0;31"



licess 发表于 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: *** Error 1
make: *** 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: *** Error 127
你系统上的openssl可能改动过

另外你这系统上可能还有其他版本的libicu

999999 发表于 2023-8-29 10:39:20

请求如何该修改?

licess 发表于 2023-8-31 08:38:23

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

卸载掉安装的openssl和系统上多的libicu,重启后再安装试一下看看
页: [1]
查看完整版本: lnmp2.0安装失败