Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 1999 15:10:27 -0500
From:      "Wills, Ken" <kwills@gflesch.com>
To:        Mark Ovens <mark@dogma.freebsd-uk.eu.org>
Cc:        questions@freebsd.org
Subject:   RE: Netscape 4.61 (Linux) broken since adding linux_base-5.2
Message-ID:  <058BE165CBA8D111A82E0008C79F9E3502485C@gfc-mad-dc.gflesch.int>

next in thread | raw e-mail | index | archive | help
> [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




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