Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 1999 20:41:26 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        questions@freebsd.org
Subject:   Netscape 4.61 (Linux) broken since adding linux_base-5.2
Message-ID:  <19991011204125.A327@marder-1>

next in thread | raw e-mail | index | archive | help
Since installing linux_base-5.2 from the ports in order to use Star
Office 5.1 Netscape 4.61 for Linux seg faults and dumps core on
startup (before the window even appears.

gdb(1) shows:

marder-1:/usr/marko{53}% gdb /usr/local/netscape-4.61/netscape ./netscape.core
GNU gdb 4.18

[GPL waffle elided]

This GDB was configured as "i386-unknown-freebsd"...
(no debugging symbols found)...
Core was generated by `netscape'.
Program terminated with signal 11, Segmentation fault.
/usr/lib/libstdc++.so.27: No such file or directory.
#0  0x28d875cf in ?? ()
(gdb) 

It initially complained about /usr/lib/libg++.so.27 but I made a
symlink to /usr/lib/libg++.so.4 and now it complains about
libstdc++.so.27.

I deleted Netscape and re-installed. Still the same.

Checking what linux_base installed, in the +CONTENTS file, I found:

@name linux_base-5.2
@cwd /compat/linux
.....
usr/i486-linux-libc5/lib/libg++.so.27
....
usr/i486-linux-libc5/lib/libstdc++.so.27
....

I added the following line to /etc/rc.conf:

ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib /compat/linux/usr/lib"

and rebooted (yeah, I know, rebooting isn't necessary, but I'm not
100% sure how to implement the change on the fly). Still Netscape
seg faults with the same problem. It seems to be looking in /usr/lib
explicitly.

Any idea how to fix this? As it worked fine before does this mean
that linux_base deletes existing so libs?

Also, Word Perfect 8 doesn't work either:

marder-1# xwp
Segmentation fault (core dumped)
marder-1# gdb `which xwp` ./xwp.core
GNU gdb 4.18

[GPL waffle elided]

This GDB was configured as "i386-unknown-freebsd"...
(no debugging symbols found)...
Core was generated by `xwp'.
Program terminated with signal 11, Segmentation fault.
/lib/ld-linux.so.1: No such file or directory.
#0  0x2897e5cf in ?? () from /usr/compat/linux/lib/libc.so.6
(gdb) 

<groan> fsck'ing Linux!

-- 
STATE-OF-THE-ART: Any computer you can't afford.
OBSOLETE: Any computer you own.
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org              http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991011204125.A327>