I am trying to compile an application on a CentOS 5.0 64-bit machine that gives me the error:
/usr/local/bin/myprog: /usr/lib64/libstdc++: version `GLIBXX.3.4.9' not found (required by /usr/local/bin/myprog)
I have gcc 4.2.3.
I've performed a yum install compat-* and glibc*
What am I missing?
Thanks.
Scott
Scott R. Ehrlich wrote:
/usr/local/bin/myprog: /usr/lib64/libstdc++: version `GLIBXX.3.4.9' not found (required by /usr/local/bin/myprog)
I have gcc 4.2.3.
Ahemm.
[angenenr@shutdown ~]$rpm -q gcc gcc-4.1.2-42.el5.x86_64
I've performed a yum install compat-* and glibc*
What am I missing?
A sane CentOS setup?
[angenenr@shutdown ~]$strings /usr/lib/libstdc++.so.6.0.8|grep -i glibcxx GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_FORCE_NEW [angenenr@shutdown ~]$
So you have a newer gcc and some program requesting a more current libstdc++.
Does that help?
Ralph