Ubuntu 安装 glibc
hefengbao 发布于 2023.07.09 ,最后更新于 2023.09.18
下载地址:http://ftp.gnu.org/gnu/glibc/
cd ~
wget http://ftp.gnu.org/gnu/glibc/glibc-2.37.tar.gz
tar -zxvf glibc-2.37.tar.gz
cd glibc-2.37
mkdir build
cd build
../configure --prefix=/opt/glibc-2.37
安装过程中遇到如下错误:
configure: error: *** These critical programs are missing or too old: bison *** Check the INSTALL file for required versions.
”缺啥补啥“😀:
sudo apt install bison
继续运行:
../configure --prefix=/opt/glibc-2.37
最后:
sudo make && sudo make install
参考:
https://sourceware.org/glibc/wiki/Testing/Builds
https://blog.csdn.net/mengzhongsuiyi521/article/details/88432237
有 0 条评论
发表评论
您的电子邮箱地址不会被公开。 必填项已用 * 标注