[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

libstdc++.so.6 change breaks older applications (e.g. GNAT) ...

I have problems with version 4.1.1ds1-13 of package libstdc++6 as this
breaks some older applications. If you have the sources, you can
recompile, if not ... what is the suggested solution?

What happens is this:

sbellon@io$ ldd foobar
./foobar: /usr/local/gnat/lib/libgcc_s.so.1: version `GCC_4.2.0' not
found (required by /usr/lib/libstdc++.so.6)

This looks to me like the new library demands version GCC_4.2.0 from
libgcc_s.so.1, which in my case cannot provide this. How can I get
foobar going with the new libstdc++? I can recompile foobar as I have
the sources to it, but I cannot easily
recompile /usr/local/gnat/lib/libgcc_s.so.1 which foobar depends on
(this is from AdaCore's binary distribution of GNAT).

With the 4.1.1ds1-13, it looks like this:

sbellon@io$ strings /usr/lib/libstdc++.so.6 | grep ^GCC

With 4.1.1-11 everything was fine:

bellonsn@cube$ strings /usr/lib/libstdc++.so.6 | grep ^GCC

Why was this dependency introduced? Is there any way around it?

Thanks for any hints in advance.

Stefan Bellon

Reply to: