Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 1999 21:20:38 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        "Wills, Ken" <kwills@gflesch.com>
Cc:        questions@freebsd.org
Subject:   Re: Netscape 4.61 (Linux) broken since adding linux_base-5.2
Message-ID:  <19991011212038.D327@marder-1>
In-Reply-To: <058BE165CBA8D111A82E0008C79F9E3502485C@gfc-mad-dc.gflesch.int>
References:  <058BE165CBA8D111A82E0008C79F9E3502485C@gfc-mad-dc.gflesch.int>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 11, 1999 at 03:10:27PM -0500, Wills, Ken wrote:
> > [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 :)
> 

No. In /usr/lib (since that is where it appeared to be looking):

marder-1# pwd
/usr/lib
marder-1# ls -l libg++*
-r--r--r--  1 root  wheel  309804 Sep 30 00:47 libg++.a
lrwxr-xr-x  1 root  wheel      11 Sep 30 00:47 libg++.so -> libg++.so.4
lrwxr-xr-x  1 root  wheel      11 Oct 11 18:05 libg++.so.27 -> libg++.so.4
-r--r--r--  1 root  wheel  301714 Sep 30 00:47 libg++.so.4
-r--r--r--  1 root  wheel  340498 Feb 15  1999 libg++_p.a
marder-1# 

> > ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib 
> > /compat/linux/usr/lib"
>    ^^^^^^^^^^^^^^^^^^^^
>  You can remove this - it won't help.
> 

OK, I will.

> > 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.
> 

Thanks for the tip.

> > 
> > 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?

Yes. It all worked fine before I installed linux_base.

> 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.

marder-1# linux
Linux driver already loaded
marder-1# netscape
Segmentation fault (core dumped)
marder-1#

:(

> The linux emulation layer transparently points the application
> to the correct place (ie /usr/compat/linux).

That is what I thought, but linux_base uses
/compat/linux/usr/i486-linux-libc5/lib for these libraries although
/compat is symlinked to /usr/compat.


> 
> Ken 

-- 
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?19991011212038.D327>