Re: netscape library dependencies?
Johann Spies wrote:
>
> On Tue, 2 Feb 1999, Chris Ryan wrote:
>
> > I have just downloaded and installed Netscape 4.5 and found these
> > missing libraries reported as errors when I try to run it:
> >
> > libg++.so.27
> > libstdc++.so.27
> >
> > However, I do have the libraries libg++.so.2.7.2.8 and
> > libstdc++.so.2.7.2.8 and the links libg++.so.272 and libstdc++.so.272.
> > These, I believe are more up-to-date versions of the libraries (I
> > upgraded via ftp recently from the main stable distribution).
>
> > I tried the kluge of making links called libg++.so.27 pointing the
> > existing libg++.so.2.7.2.8 (same thing for the other library). This
> > removed the missing library error, or course, but now I have a
> > 'segmentation fault'. I guess this kluge is a bad thing.
> >
>
> The following gives an indication which packages to load:
> $zgrep libg++.so.27 Contents-i386.gz
> usr/lib/libc5-compat/libg++.so.27 oldlibs/libg++27
> usr/lib/libc5-compat/libg++.so.27.2.1 oldlibs/libg++27
> usr/lib/libg++-dbg/libg++.so.272 devel/libg++272-dbg
> usr/lib/libg++.so.272 libs/libg++272
>
> $ zgrep libstdc++.so.27 Contents-i386.gz
> usr/lib/libc5-compat/libstdc++.so.27 oldlibs/libg++27
> usr/lib/libc5-compat/libstdc++.so.27.2.1 oldlibs/libg++27
> usr/lib/libg++-dbg/libstdc++.so.272 devel/libg++272-dbg
> usr/lib/libstdc++.so.272 libs/libg++272
>
> Johann
Thanks for the tip. I found that I had the libraries in the libc5
compatibility area. But how do I tell netscape (library load path, or
what?) to load these libc5 libraries?
Also doing a 'ldd netscape' shows that it uses a lot of other libraries
(eg. libX11). At the moment it picks up the X11R6 version, not the ones
in the libc5 compatibility directory. Should netscape be using all libc5
versions of these libraries as well? How do I do it?
I tried a crude link in /lib pointing to the libg++.so.27 and
libstdc++.so.27 libraries in libc5-compat. These showed OK on the ldd
output. But netscape still fails with the 'segmentation fault'. Is this
because it should be using the libc5 versions of the other libraries as
well?
Cheers, Chris.
--
+-----------------------------------------------------------------------------+
| Dr. Chris
Ryan |
| CSIRO Exploration and Mining email:
c.ryan@syd.dem.csiro.au |
| 51 Delhi Road (PO box 136) phone: +61-2-9490
8673 |
| North Ryde NSW 2113 fax: +61-2-9490
8909 |
|
Australia.
|
|
|
| WWW (Cu-Au group):
http://www.syd.dem.csiro.au/research/hydrothermal/ |
| WWW (Proton
Probe): |
|
http://www.syd.dem.csiro.au/research/hydrothermal/chris/PM_main.html |
| WWW (Mantle Petrology group):
http://www.syd.dem.csiro.au/research/mantle/ |
| WWW (Me):
http://www.syd.dem.csiro.au/unrestricted/people/RyanChris/ |
|
|
+-----------------------------------------------------------------------------+
Reply to: