sandm 发表于 2021-5-20 22:32:58

Centos7安装 Mysql失败


找了半天不知道原因在哪,求助

sandm 发表于 2021-5-20 23:24:35

OpenSSL 1.0.2k-fips26 Jan 2017这是openssl的版本

licess 发表于 2021-5-21 08:31:21

[ 20%] Built target mysys_ssl
Linking CXX executable comp_err
../mysys_ssl/libmysys_ssl.a(my_aes_openssl.cc.o): In function `my_aes_encrypt':
/root/lnmp1.7-full/src/mysql-5.6.48/mysys_ssl/my_aes_openssl.cc:139: undefined reference to `EVP_CIPHER_CTX_init'
/root/lnmp1.7-full/src/mysql-5.6.48/mysys_ssl/my_aes_openssl.cc:152: undefined reference to `EVP_CIPHER_CTX_cleanup'
/root/lnmp1.7-full/src/mysql-5.6.48/mysys_ssl/my_aes_openssl.cc:162: undefined reference to `EVP_CIPHER_CTX_cleanup'
../mysys_ssl/libmysys_ssl.a(my_aes_openssl.cc.o): In function `my_aes_decrypt':
/root/lnmp1.7-full/src/mysql-5.6.48/mysys_ssl/my_aes_openssl.cc:192: undefined reference to `EVP_CIPHER_CTX_init'
/root/lnmp1.7-full/src/mysql-5.6.48/mysys_ssl/my_aes_openssl.cc:205: undefined reference to `EVP_CIPHER_CTX_cleanup'
/root/lnmp1.7-full/src/mysql-5.6.48/mysys_ssl/my_aes_openssl.cc:215: undefined reference to `EVP_CIPHER_CTX_cleanup'
按错误信息看你系统上的openssl肯定是被动过了的

sandm 发表于 2021-5-21 09:18:59

licess 发表于 2021-5-21 08:31
按错误信息看你系统上的openssl肯定是被动过了的

我重装一下openssl可以吗?

licess 发表于 2021-5-21 20:27:35

sandm 发表于 2021-5-21 09:18
我重装一下openssl可以吗?

你安装的openssl的哪个版本?
有可能openssl版本,也可能openssl安装有问题

sandm 发表于 2021-5-22 11:00:59

解决了,升级到1.1.1就解决了
页: [1]
查看完整版本: Centos7安装 Mysql失败