This is the mail archive of the gcc-prs@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]

Re: c++/10268: C++ executables fail: libstdc++.so.5 not found


The following reply was made to PR c++/10268; it has been noted by GNATS.

From: Hallvard B Furuseth <h dot b dot furuseth at usit dot uio dot no>
To: Christian Ehrhardt <ehrhardt at mathematik dot uni-ulm dot de>
Cc: gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Subject: Re: c++/10268: C++ executables fail: libstdc++.so.5 not found
Date: Mon, 31 Mar 2003 16:57:50 +0200

 [I've excluded gcc-prs at gcc dot gnu dot org from the cc: list, since it rejects
 mail from "outsiders".]
 
 Christian Ehrhardt writes:
 > This is even covered by the gcc FAQ at http://gcc.gnu.org/faq.html#rpath
 
 Oops.
 
 >> If you don't want to add to the executable's path, I think you should
 >> only build static libraries.  If one configures gcc to build dynamic
 >> libraries, add the path and warn about whatever the problem is with
 >> adding such a path, or don't add it and give a very loud warning that
 >> g++ will build executables that don't work.
 > 
 > There is a loud warning when you install the shared libraries!
 
 Oh.  I found it in the typescript now, I think it scrolled away during
 installation.  Though I still think a warning at the end of configure
 would be better (so it wouldn't scroll away).  I think I've seen the
 warning before though.  I guess it just didn't occur to me that it
 applied even if I didn't use the -L option myself.
 
 Thanks.
 
 -- 
 Hallvard


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