From owner-freebsd-questions Mon Oct 11 13:12:29 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gfc-mad-proxy.gflesch.com (gfc-mad-proxy.gflesch.com [208.212.82.194]) by hub.freebsd.org (Postfix) with ESMTP id 5B1F11570B for ; Mon, 11 Oct 1999 13:12:17 -0700 (PDT) (envelope-from kwills@gflesch.com) Received: from gfc-mad-mail.gflesch.com (gfc-mad-mail.gflesch.int [10.1.1.25]) by gfc-mad-proxy.gflesch.com (8.9.2/8.9.1) with ESMTP id PAA87802; Mon, 11 Oct 1999 15:02:15 -0500 (CDT) (envelope-from kwills@gflesch.com) Received: by gfc-mad-mail.gflesch.int with Internet Mail Service (5.5.2448.0) id ; Mon, 11 Oct 1999 15:10:20 -0500 Message-ID: <058BE165CBA8D111A82E0008C79F9E3502485C@gfc-mad-dc.gflesch.int> From: "Wills, Ken" To: Mark Ovens Cc: questions@freebsd.org Subject: RE: Netscape 4.61 (Linux) broken since adding linux_base-5.2 Date: Mon, 11 Oct 1999 15:10:27 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Mark Ovens > Sent: Monday, October 11, 1999 2:41 PM > To: questions@freebsd.org > Subject: Netscape 4.61 (Linux) broken since adding linux_base-5.2 > > > 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. > > 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. You made the symlink in the /usr/compat/linux directory, yes? Mixing up libraries from FreeBSD and Linux is not a recipe for a long and stress free life :) > ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib > /compat/linux/usr/lib" ^^^^^^^^^^^^^^^^^^^^ You can remove this - it won't help. > 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. ldconfig -m /the/place/with/the/libs - for future reference, but it still won't help. > > 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: > > /lib/ld-linux.so.1: No such file or directory. > #0 0x2897e5cf in ?? () from /usr/compat/linux/lib/libc.so.6 > (gdb) > You are starting the linux emulation from /etc/rc.conf aren't you? Try typing (as root) # linux then start your applications and see what happens. Linux libraries should be kept in /usr/compat/linux and not generally symlinked into the rest of your filesystem. The linux emulation layer transparently points the application to the correct place (ie /usr/compat/linux). Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message