From owner-freebsd-questions Mon Oct 11 12:42:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from monsoon.mail.pipex.net (monsoon.mail.pipex.net [158.43.128.69]) by hub.freebsd.org (Postfix) with SMTP id 985561522D for ; Mon, 11 Oct 1999 12:42:25 -0700 (PDT) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 8198 invoked from network); 11 Oct 1999 19:42:20 -0000 Received: from userbq08.uk.uudial.com (HELO marder-1.) (62.188.146.102) by smtp.dial.pipex.com with SMTP; 11 Oct 1999 19:42:20 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.8.8) id UAA00390 for questions@freebsd.org; Mon, 11 Oct 1999 20:41:26 +0100 (BST) (envelope-from mark) Date: Mon, 11 Oct 1999 20:41:26 +0100 From: Mark Ovens To: questions@freebsd.org Subject: Netscape 4.61 (Linux) broken since adding linux_base-5.2 Message-ID: <19991011204125.A327@marder-1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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) 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