一、Mold下载
Releases · rui314/mold · GitHub
二、安装
解压:mold-1.9.0-x86_64-linux.tar.gz
tar zxvf mold-1.9.0-x86_64-linux.tar.gz
安装:
cp -r mold-1.9.0-x86_64-linux/bin/* /usr/local/bin
cp -r mold-1.9.0-x86_64-linux/lib/* /usr/local/lib/
cp -r mold-1.9.0-x86_64-linux/libexec/* /usr/local/libexec/
cp -r mold-1.9.0-x86_64-linux/share/* /usr/local/share/
三、检查
[root@xunye home]# mold -v
mold: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by mold)