reddey 发表于 2024-4-29 15:14:49

MGR部署

我的操作系统为CENTOS 7,用GatSQL-8.0.32-25-Linux-glibc2.28-x86_64.tar.xz来部署第一个节点时,用root用户执行/usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld --defaults-file=/etc/my.cnf --initialize-insecure时,发生如下错误。

/usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld: /lib64/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld)
/usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld)
/usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld)
/usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld)
/usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld)
/usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld)
/usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld)
/usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/../lib/private/libprotobuf-lite.so.3.19.4)
/usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/../lib/private/libprotobuf-lite.so.3.19.4)
/usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/../lib/private/libprotobuf-lite.so.3.19.4)
/usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/../lib/private/libprotobuf-lite.so.3.19.4)
/usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/mysqld: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/local/GreatSQL-8.0.32-25-Linux-glibc2.28-x86_64/bin/../lib/private/libprotobuf-lite.so.3.19.4)


yejr 发表于 2024-4-29 16:04:02

下载版本选错啦,要选for centos 7的版本,关键字是glibc 2.17,不是glibc 2.28
页: [1]
查看完整版本: MGR部署