When linking a C++ application with a -Rrunpath option giving the location of both libstdc++.so.1 and libgcc_s.so.1, and then running the application without that location in LD_LIBRARY_PATH, ld.so.1 complains that libgcc_s.so.1 can't be found as a dependency of libstdc++.so.1.
This seems to be because the runpath of the application in not used by ld.so.1 to find the dependency of libstdc++.so.1, and this library is built without any internal way to find libgcc_s.so.1, on which it depends. This can also be ovserved in gcc-3.3.3 on solaris2.9. -- Summary: libstdc++.so.1 does not contain a runpath parameter Product: gcc Version: 3.2.2 Status: UNCONFIRMED Severity: minor Priority: P2 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dvilleneuve at kronos dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: sparc-sun-solaris2.7 GCC host triplet: sparc-sun-solaris2.7 GCC target triplet: sparc-sun-solaris2.7 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22350