Date: Fri, 16 May 1997 07:18:47 -0500 (CDT) From: "Paul T. Root" <proot@horton.iaces.com> To: r.seichter@isc-inf.com (Ralph Seichter) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD 2.2.1 support for Linux binaries - how to? Message-ID: <199705161218.HAA19906@horton.iaces.com> In-Reply-To: <00256499.003451A1.00@[194.163.9.15]> from Ralph Seichter at "May 16, 97 09:33:22 am"
next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, Ralph Seichter said: > > > > > After using NetBSD for quite a while, I've now freshly set up FreeBSD > 2.2.1. One of the reasons for migrating to FreeBSD was the support > for Linux binaries, but now I'm having trouble using this feature. > > When the X11 and fvwm2 setup looked ok to me, I installed the 'doom' > package off the distribution CDROM, which added some Linux libs. I > then added an ldconfig entry for the directory /compat/linux/lib, but > doom won't run. Executing doom.sh from an xterm (with bash) results > only in what looks like a dump of parts of 'xdoom' being printed to > the xterm window. > > Did I forget something vital for FreeBSD's Linux support? Could my > self-compiled kernel be misconfigured? > > Your help is appreciated. If there's a FAQ I missed, please tell me so. > > -Ralph- Probably. Did you read the handbook sections on Linux? I just did this last week and brought up doom just to test, then AcroRead, then StarOffice. All worked just fine. In a nutshell, here's what you do: 1) edit /etc/sysconfig to change LINUX=NO to LINUX=YES This will run the program 'linux', which loads the linux compatability kernel module. You can confirm it's there with modstat. 2) Add the linux library package. (packages/emulation). 3) That's it. Run xdoom. -- Mathematics deals exclusively with the relations of concepts to each other without consideration of their relation to experience. -- Albert Einstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705161218.HAA19906>