The Python ssl extension was not compiled. Missing the OpenSSL lib?

首先yum install openssl openssl-devel 确保版本大于等于1.0.2
如果还不行

[root@node024212 17:42:57 ~]
#find / -name libssl.so.1.0.0                          
/root/mysql-8.0.13-linux-glibc2.12-x86_64/bin/libssl.so.1.0.0
/root/mysql-8.0.13-linux-glibc2.12-x86_64/lib/plugin/debug/libssl.so.1.0.0
/root/mysql-8.0.13-linux-glibc2.12-x86_64/lib/plugin/libssl.so.1.0.0
/root/mysql-8.0.13-linux-glibc2.12-x86_64/lib/libssl.so.1.0.0
/usr/local/bin/libssl.so.1.0.0
/usr/local/lib/plugin/debug/libssl.so.1.0.0
/usr/local/lib/plugin/libssl.so.1.0.0
/usr/local/lib/libssl.so.1.0.0
/usr/local/mysql8.0.13/bin/libssl.so.1.0.0
/usr/local/mysql8.0.13/lib/plugin/debug/libssl.so.1.0.0
/usr/local/mysql8.0.13/lib/plugin/libssl.so.1.0.0
/usr/local/mysql8.0.13/lib/libssl.so.1.0.0


export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH


#echo $LD_LIBRARY_PATH                                 
/usr/local/lib::/usr/local/mysql/lib:/usr/local/mysql/lib:/usr/local/mysql/lib:/usr/local/mysql/lib

再装,反正我成功了

上一篇:查看RabbitMQ的版本号


下一篇:在启动MYSQL时出现问题:“ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (1006