Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 1995 11:19:20 -0600 (CST)
From:      Mark Hittinger <bugs@freebsd.netcom.com>
To:        freebsd-doc@freebsd.org
Subject:   lets doc frequently fallen into trap #2
Message-ID:  <199512141719.LAA00337@freebsd.netcom.com>

next in thread | raw e-mail | index | archive | help

Frequently fallen into trap #2  

New user of FreeBSD experiments with the Linux emulation package.  The new
user copies the Linux shared libraries 'lib*.so.4' into /usr/lib.

The new user happily plays with Linux binaries.  Then one horrible day comes
when they reboot and try to compile something on FreeBSD natively.

Much evil then transpires.

The telltale sign are link errors involving the crt0 module.

Again, I've walked people out of this trap one too many times :-)

The solution is to get rid of the 'lib*.so.4' files in /usr/lib and make them
reboot (if they can!!).  Then put the linux shared libraries in some other
spot (like /usr/linux/lib).

Regards,

Mark Hittinger
Netcom/Dallas
bugs@freebsd.netcom.com



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