libstdc++.so without version information
Philipp Thomas
Philipp.Thomas2@gmx.net
Wed Nov 25 10:13:00 GMT 2009
On Tue, 24 Nov 2009 16:02:29 +0100, you wrote:
> libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
> libstdc++.so.6 (CXXABI_1.3) => not found
> libstdc++.so.6 (GLIBCXX_3.4) => not found
>[snip]
>
>It seems that the libstdc++ does not contain the needed information:
>
You can't check with strings. The right way to check the version
information is by using 'objdump -p' on the library. When doing so,
you'll see something like
Version definitions:
1 0x01 0x025f4d66 libstdc++.so.6
2 0x00 0x08922974 GLIBCXX_3.4
3 0x00 0x02297f81 GLIBCXX_3.4.1
GLIBCXX_3.4
4 0x00 0x02297f82 GLIBCXX_3.4.2
GLIBCXX_3.4.1
5 0x00 0x02297f83 GLIBCXX_3.4.3
GLIBCXX_3.4.2
Looks likeWhat ldconfig is telling you is that it doesn't find the
library. Try calling ldconfig to get the dynamic linker to cache the
library and then again ldd.
>How can I build libstdc++ so that it contains version information?
I'm certain that is does contain the info when looking with the right
tool :)
Philipp
More information about the Gcc-help
mailing list