GreatSQL社区

搜索

[已解决] GreatSQL安装版本的选择问题

1007 7 2024-4-18 11:08


叶哥你好,我看到在安装说明里面有一段“如果您的glibc版本为2.28或更高版本,请选择带有"el8"标识的rpm包;如果您的glibc版本为2.17,请选择带有"el7"标识的rpm包。”但是我在下载页:https://gitee.com/GreatSQL/GreatSQL/releases/tag/GreatSQL-8.0.32-25,能看到的版本貌似都是e17的。
目前我在欧拉系统中尝试用rpm包的方式安装,有报错:
Error:

Problem 1: conflicting requests
  - nothing provides libcrypto.so.10()(64bit) needed by greatsql-client-8.0.32-25.1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by greatsql-client-8.0.32-25.1.el7.x86_64
  - nothing provides libreadline.so.6()(64bit) needed by greatsql-client-8.0.32-25.1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by greatsql-client-8.0.32-25.1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by greatsql-client-8.0.32-25.1.el7.x86_64
Problem 2: conflicting requests
  - nothing provides libcrypto.so.10()(64bit) needed by greatsql-mysql-router-8.0.32-25.1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by greatsql-mysql-router-8.0.32-25.1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by greatsql-mysql-router-8.0.32-25.1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by greatsql-mysql-router-8.0.32-25.1.el7.x86_64
Problem 3: conflicting requests
  - nothing provides libcrypto.so.10()(64bit) needed by greatsql-server-8.0.32-25.1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by greatsql-server-8.0.32-25.1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by greatsql-server-8.0.32-25.1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by greatsql-server-8.0.32-25.1.el7.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.2)(64bit) needed by greatsql-server-8.0.32-25.1.el7.x86_64
  - nothing provides liblber-2.4.so.2()(64bit) needed by greatsql-server-8.0.32-25.1.el7.x86_64
  - nothing provides libldap_r-2.4.so.2()(64bit) needed by greatsql-server-8.0.32-25.1.el7.x86_64
Problem 4: conflicting requests
  - nothing provides libcrypto.so.10()(64bit) needed by greatsql-shared-8.0.32-25.1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by greatsql-shared-8.0.32-25.1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by greatsql-shared-8.0.32-25.1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by greatsql-shared-8.0.32-25.1.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

这个是否跟安装包的版本有关,主机 ldd --version的值为:ldd (GNU libc) 2.34,问题是我没找到e18的版本在哪里下载,麻烦看下,谢谢
全部回复(7)
lingoYS 2024-4-18 11:10:00
哦 ,在下面,看到了,不好意思
lingoYS 2024-4-18 11:33:19
还是有报错:
error: Failed dependencies:
        libreadline.so.7()(64bit) is needed by greatsql-client-8.0.32-25.1.el8.x86_64
        liblber-2.4.so.2()(64bit) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
        libldap_r-2.4.so.2()(64bit) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
我看系统目前安装的版本貌似已经是更高的版本了,这咋整哦:
[root@localhost bin]# locate libreadline.so
/usr/lib64/libreadline.so.8
/usr/lib64/libreadline.so.8.1
[root@localhost bin]# rpm -qf /usr/lib64/libreadline.so.8
readline-8.1-3.oe2203.x86_64
yejr 2024-4-18 14:59:09
你的欧拉系统版本多少,并且执行 ldd --version 查看版本
lingoYS 2024-4-22 10:22:22
yejr 发表于 2024-4-18 14:59
你的欧拉系统版本多少,并且执行 ldd --version 查看版本

系统版本信息:
# uname -a
Linux localhost.localdomain 5.10.0-60.133.0.160.oe2203.x86_64 #1 SMP Thu Apr 11 01:14:14 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

# cat/etc/openEuler-release
openEuler release 22.03 LTS

# cat /etc/openEuler-latest
openeulerversion=openEuler-22.03-LTS
compiletime=2022-03-30-16-23-56
gccversion=10.3.1-10.oe2203
kernelversion=5.10.0-60.18.0.50.oe2203
openjdkversion=1.8.0.312.b07-11.oe2203

ldd版本:
# ldd --version
ldd (GNU libc) 2.34
lingoYS 2024-4-22 10:24:19
yejr 发表于 2024-4-18 14:59
你的欧拉系统版本多少,并且执行 ldd --version 查看版本

后来我安装的时候,用了--nodeps参数,略过依赖,发现数据库服务实例也可以起来,但是出于程序员的强迫症,总想着解决依赖问题,主要担心里面有隐患。
yejr 2024-4-22 11:12:43
lingoYS 发表于 2024-4-22 10:24
后来我安装的时候,用了--nodeps参数,略过依赖,发现数据库服务实例也可以起来,但是出于程序员的强迫症 ...

GreatSQL只在8.0.32-24版本中提供openEuler的发行包,详见 https://gitee.com/GreatSQL/Great ... /GreatSQL-8.0.32-24

如果想要使用最新的8.0.32-25版本,需要下载源码自行编译哈,或者考虑用Docker运行GreatSQL
lingoYS 2024-4-29 15:54:25
yejr 发表于 2024-4-22 11:12
GreatSQL只在8.0.32-24版本中提供openEuler的发行包,详见 https://gitee.com/GreatSQL/GreatSQL/release ...

好的,谢谢叶哥
lingoYS

3

主题

0

博客

35

贡献

注册会员

Rank: 2

积分
65

助人为乐(铜)

合作电话:010-64087828

社区邮箱:greatsql@greatdb.com

社区公众号
社区小助手
QQ群
GMT+8, 2024-12-27 01:37 , Processed in 0.024721 second(s), 23 queries , Redis On.
快速回复 返回顶部 返回列表