我在编译构建时遇到以下错误,并且基于https://askubuntu.com/questions/421642/libc-so-6-version-glibc-2-14-not-found我尝试使用 yum、brew、apt-get 升级 libc,但都没有用。我该怎么办?如何升级 libc6?
arm-none-eabi-gcc: /lib64/libc.so.6: version GLIBC_2.14 not found (required by arm-none-eabi-gcc)
1.
[username@machine build]$ sudo yum install libc6
Loaded plugins: security
Setting up Install Process
No package libc6 available.
Error: Nothing to do
2.
sudo brew install libc6
sudo: brew: command not found
3.
[username@machine build]$ sudo apt-get install libc6
sudo: apt-get: command not found
更新:-
[username@machinelinux8 build]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.6 (Santiago)
[username@machinelinux8 build]$ lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: OracleServer
Description: Oracle Linux Server release 6.6
Release: 6.6
Codename: n/a
[username@machinelinux8 build]$ uname -a
Linux machinelinux8 3.8.13-44.1.1.el6uek.x86_64 #2 SMP Wed Sep 10 06:10:25 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
[username@machinelinux8 build]$ cat /proc/cmdline
ro root=/dev/mapper/vg_machinelinux8-lv_root rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_LVM_LV=vg_machinelinux8/lv_root rd_LVM_LV=vg_machinelinux8/lv_swap rd_NO_MD noapic crashkernel=257M@0M SYSFONT=latarcyrheb-sun16 rd_NO_DM rhgb quiet