Can GCC / ld selects the version of GLIBCXX from libstdc++.so.6
hce
webmail.hce@gmail.com
Wed Nov 26 03:07:00 GMT 2008
Hi,
Is there a flag in GCC or ld to select a version of GLIBCXX from libstdc++.so.6?
I've compiled a program in FC9, but could not run in CenOS 5.2 with
following error:
version `GLIBXX .3.4.9' not found
In CentOS, the GLIBCXX ohly have versions up to GLIBCXX_3.4.8.
In FC9, I found:
$ strings libstdc++.so.6 | grep 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_3.4.9
GLIBCXX_3.4.10
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
I thought, if I can force compiler in FC9 to use old version of
GLIBCXX_3.4.8, the problem should be resolved. Please advice.
Thank you.
Kind Regards,
Sean
More information about the Gcc-help
mailing list