./mysqld: /lib64/libc.so.6: version `GLIBC_2.28' not found
时间: 2023-09-11 16:05:20 浏览: 321
当你在Centos系统中启动MYSQL服务时,出现了"./mysqld: /lib64/libc.so.6: version `GLIBC_2.28' not found"的错误提示。这个错误通常是由于系统中缺少GLIBC_2.28版本导致的。
要解决这个问题,你可以按照以下步骤进行操作:
1. 首先,需要下载GLIBC的2.28版本。你可以使用以下命令下载并解压缩GLIBC-2.28的源代码:
```shell
cd /usr/local/
wget https://mirror.bjtu.edu.cn/gnu/libc/glibc-2.28.tar.xz --no-check-certificate
tar -xf glibc-2.28.tar.xz
```
2. 进入解压缩后的glibc-2.28目录并创建一个build目录:
```shell
cd glibc-2.28/
mkdir build
cd build/
```
3. 使用configure命令设置安装路径:
```shell
../configure --prefix=/usr/local/glibc-2.28
```
4. 接着,编译和安装GLIBC-2.28:
```shell
make
make install
```
完成上述步骤后,系统应该已经成功安装了GLIBC-2.28版本。尝试重新启动MYSQL服务,应该不再出现"./mysqld: /lib64/libc.so.6: version `GLIBC_2.28' not found"的错误提示了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [libstdc++6_4.7.2-5_amd64.7z](https://download.csdn.net/download/yunlong3727/12547104)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [解决/lib64/libc.so.6: version `GLIBC_2.28‘ not found (required by](https://blog.csdn.net/LJL_1003/article/details/127968993)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [Centos /lib64/libc.so.6: version `GLIBC_2.28‘ not found (required by](https://blog.csdn.net/NinjaKilling/article/details/125979091)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文