操作系统 :centos7.9.2009 数据库版本:GreatSQL 8.0.32-25 问题现象:安装依赖,并解压二进制包后,使用mysql命令查看版本,报错依赖找不到 mysql -V mysql: /usr/local/openssl/lib/libcrypto.so: version `libcrypto.so.10' not found (required by mysql) mysql: /usr/local/openssl/lib/libssl.so: version `libssl.so.10' not found (required by mysql) 如图: 但是已经根据文档,将依赖安装好了,查看缺失的依赖也存在 [root@localhost local]# ldconfig -p | grep libcrypto libcrypto.so.10 (libc6,x86-64) => /lib64/libcrypto.so.10 libcrypto.so.1.1 (libc6,x86-64) => /usr/local/openssl/lib/libcrypto.so.1.1 libcrypto.so (libc6,x86-64) => /usr/local/openssl/lib/libcrypto.so libcrypto.so (libc6,x86-64) => /lib64/libcrypto.so You have mail in /var/spool/mail/root [root@localhost local]# ldconfig -p | grep libssl libssl3.so (libc6,x86-64) => /lib64/libssl3.so libssl.so.10 (libc6,x86-64) => /lib64/libssl.so.10 libssl.so.1.1 (libc6,x86-64) => /usr/local/openssl/lib/libssl.so.1.1 libssl.so (libc6,x86-64) => /usr/local/openssl/lib/libssl.so libssl.so (libc6,x86-64) => /lib64/libssl.so 请问该怎么解决? 下面是安装过程: 1.下载安装包,并解压到/usr/local/目录 2.建立软链接 : ln -s /usr/local/GreatSQL-8.0.32-25-Linux-glibc2.17-x86_64 /usr/local/greatsql 3.添加环境变量: vim /etc/profile # GREATSQL_HOME export GREATSQL_HOME=/usr/local/greatsql # PATH export PATH=$PATHGREATSQL_HOME/bin 然后就尝试执行一下mysql命令(因为我是想安装个mysql客户端,用来连接数据库) mysql -V 就报那个错了,并未启动greatsql 报错后,我就尝试安装依赖: yum install -y perl libaio-devel numactl-develnumactl-libs net-tools openssl openssl-devel pkg-config 安装完后发现还是不行。。。。 过程就是这样 |
驭无殇1998
2024-3-18 17:12:57
| ||
yejr
2024-3-18 17:54:42
| ||
驭无殇1998
2024-3-18 18:06:46
| ||
驭无殇1998
2024-3-19 09:09:48
| ||
yejr
2024-3-19 13:49:38
| ||
驭无殇1998
2024-3-19 15:32:56
| ||
驭无殇1998
2024-3-19 15:37:15
| ||
yejr
2024-3-19 16:01:41
| ||
合作电话:010-64087828
社区邮箱:greatsql@greatdb.com