Re: What Broken After Upgrading gcc...
Scott Stone (sstone@ume.pht.co.jp)
Mon, 25 May 1998 09:32:30 +0900 (JST)
On Sun, 24 May 1998, David Mihm wrote:
> On Sat, 23 May 1998, Steve Ki-Won Lee wrote:
> > Greetings,
> >
> > I've updated various gcc rpms and once that was over with, my wharf is not
> > showing the afterstepdoc wharf and the xosview wharf. Below is an output
> > of the message when I started up X by "startx 2> out.txt":
> > -snip-
> > xosview: error in loading shared libraries
> > libstdc++.so.2.7.2: cannot open shared object file: No such file ordirectory
>
> # ldd /usr/X11R6/bin/xosview
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4000b000)
> libstdc++.so.27 => /usr/lib/libstdc++.so.27 (0x400c5000)
> libm.so.5 => /usr/lib/libm.so.5 (0x40109000)
> libc.so.5 => /usr/lib/libc.so.5 (0x40112000)
> libXintl.so.6 => /usr/X11R6/lib/libXintl.so.6 (0x401cc000)
> # ls -l /usr/lib/libstdc++.so.27
> /usr/lib/libstdc++.so.27 -> /usr/lib/libstdc++.so.2.8.0
> ^^^ make a link to the new stdc libs
> OR
> rebuild xosview from source and it'll link to the newer libs. As you can
> see I simply ln -s 'd it. :)
Assuming of course that you did update gcc's g++ libs as well, or you'll
have an incompatibility problem.
--------------------------------------------------
Scott M. Stone <sstone@pht.com, sstone@turbolinux.com>
<sstone@pht.co.jp>
Linux Developer/Systems Administrator for Pacific HiTech, Inc.
http://www.pht.com http://armadillo.pht.co.jp
http://www.pht.co.jp http://www.turbolinux.com