public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/22350] New: libstdc++.so.1 does not contain a runpath parameter
@ 2005-07-07 17:31 dvilleneuve at kronos dot com
  2005-07-07 17:37 ` [Bug libstdc++/22350] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: dvilleneuve at kronos dot com @ 2005-07-07 17:31 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libstdc++/22350] libstdc++.so.1 does not contain a runpath parameter
  2005-07-07 17:31 [Bug libstdc++/22350] New: libstdc++.so.1 does not contain a runpath parameter dvilleneuve at kronos dot com
@ 2005-07-07 17:37 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-07 17:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-07 17:37 -------
This is not a GCC or libstdc++ bug, Use LD_LIBRARY_PATH.
Please read the libstdc++ faq which talks about this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22350


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-07 17:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-07 17:31 [Bug libstdc++/22350] New: libstdc++.so.1 does not contain a runpath parameter dvilleneuve at kronos dot com
2005-07-07 17:37 ` [Bug libstdc++/22350] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).