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

Re: Case history: Installing libstdc++ on i686-pc-linux-gnu (Red Hat)


I wrote:

> So:  What should I do?  Should I look for an old copy of the
> libstdc++-libc6.1-1.so.2 file on the 'net and just and paste it back
> into /usr/lib?  A good deal of the commands on my system require it.
> One idea: I observe that the gcc-c++ RPM info says that it "does
> include the static standard C++ library and C++ header files; the
> library for dynamically linking programs is available separately."
> Perhaps that would solve the problem?  Or is this something I can
> solve by pointing the libstdc++-libc6.1-1.so.2 symlink somewhere
> else or by setting LD_LIBRARY_PATH?

I found a non-RPM (finally!) copy of libstdc++-libc6.1-1.so.2 in the
Slackware distribution.  I copied it into /usr/lib, and my commands
seem to work fine now.  Using ldd(1), I determined that none of the
other missing library files are needed by my system except for
lib[cm].so.5 and libstdc++.so.27, and although the links with those
names were gone, fortunately the underlying files weren't, and I was
able to resolve all of the library dependency problems by putting
the files and links back into /usr/lib.  Hopefully this won't break
anything in the new libraries.  (Right?)

Thanks to everyone for listening.

--Avi


=========  Avi Green :) (: www.sputnik7.com  =========
========     Unix S/A & System Specialist     ========
========  avi at sputnik7.com   212 217-1147  ========

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