GreatSQL社区

搜索

[已解决] 安装MYSHELL后,使用时报错

348 2 2024-5-14 19:30
下载安装包后,解压,运行时报错。
安装包为greatsql-shell-8.0.32-25-glibc2.28-x86_64.tar.xz



./mysqlsh
./mysqlsh: relocation error: /root/greatsql-shell-8.0.32-25-glibc2.28-x86_64/bin/../lib/mysqlsh/libc.so.6: symbol _dl_fatal_printf, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference

是不是安装版本不对?

ldd --version
ldd (GNU libc) 2.17
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper




全部回复(2)
yejr 2024-5-15 08:20:41
glibc版本不匹配
GreatSQL Shell现在只发行了glibc 2.28的版本,想要在glibc 2.17环境下运行需要自己编译,或者用docker方式运行
具体参考 https://gitee.com/GreatSQL/Great ... ster/GreatSQL-Shell
https://gitee.com/GreatSQL/Great ... reatSQL-Shell-Build
reddey 2024-5-15 08:45:06
yejr 发表于 2024-5-15 08:20
glibc版本不匹配
GreatSQL Shell现在只发行了glibc 2.28的版本,想要在glibc 2.17环境下运行需要自己编译, ...

为了实验做下去,我去MYSQL官网下载RPM包安装了。
一个学艺不精的国产数据库爱好者
reddey

22

主题

38

博客

681

贡献

高级会员

Rank: 4

积分
899

勤学好问(铜)写作分享(金)助人为乐(金)中肯点评(铜)

合作电话:010-64087828

社区邮箱:greatsql@greatdb.com

社区公众号
社区小助手
QQ群
GMT+8, 2024-7-27 10:32 , Processed in 0.019206 second(s), 14 queries , Redis On.
快速回复 返回顶部 返回列表