I do not know how to upgrade glibc from version 2.12 to 2.14 on CentOS 6.3. I need your help.
相关问题
- Is shmid returned by shmget() unique across proces
- how to get running process information in java?
- Error building gcc 4.8.3 from source: libstdc++.so
- Why should we check WIFEXITED after wait in order
- Null-terminated string, opening file for reading
I found this source very useful and doesn't has much SEO. It lists the most common errors you might encounter while using @UnitasBrooks great answer and I'm afraid it gets lost in the future.
This is the link to the original post
I will copy, paste it here (I faced the last problem and it fixed it, however I didn't try all the problems/solutions listed and you try it on your own risk)
Glibc installation
The GNU C Library, commonly known as glibc, is the GNU Project's implementation of the C standard library. My environment required glibc (version 2.14) and it took a bit of fiddling to get it to work, so hopefully this will save you some time.
0.Glibc Installation Dependencies
1.Download installation package
2.Compile and install
To avoid disturb current environment, compile and install this version separately by configuring prefix.
3.To check glibc versions installed
4.Compiling errors
Error:
Solution:
Error:
Solution:
Error:
Solution:
In my case the relevant answer was given by Trevor Robinson,
I had another gcc version in the path which made the configure script go crazy
You cannot update glibc on Centos 6 safely. However you can install 2.14 alongside 2.12 easily, then use it to compile projects etc. Here is how:
To update glibc please use the below command