This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

other/6335: version specific runtime libs are not found at runtime



>Number:         6335
>Category:       other
>Synopsis:       version specific runtime libs are not found at runtime
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 17 05:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     ww@mpi-sb.mpg.de
>Release:        3.0 - 3.0.4
>Organization:
>Environment:
At least Solaris 8 and Linux
>Description:
I use the configure option --enable-version-specific-runtime-libs together with a --prefix. The runtile libs for g++ (e.g. libstadc++.so.3) are then found at link time but not at runtime of the created binary. As a workaround I use an ugly wrapper witch adds the corresponding linker flag (e.g. for Solaris: -R/$MYPREFIX/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/), which is a real nightmare. The linker call must already posess the location of the libraries and should build it into the binary. 
>How-To-Repeat:
A gcc buit with this option fails the g++ test of the groff source with, because the simple c++ program binary does not find libstdc++.so.3 
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]