*BSD News Article 67955


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!hole.news.pipex.net!pipex!tube.news.pipex.net!pipex!lade.news.pipex.net!pipex!news.be.innet.net!INbe.net!news.nl.innet.net!INnl.net!hunter.premier.net!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!news.vader.org!news.demon.co.uk!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problem with Linux emulation
Date: 7 May 1996 16:36:34 +0100
Organization: Coverform Ltd.
Lines: 24
Message-ID: <4mnqm2$14b@anorak.coverform.lan>
References: <nC8964EE8@longacre.demon.co.uk>
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Michael Searle (searle@longacre.demon.co.uk) wrote:
: I have Linux support (COMPAT_LINUX, LINUX_COMPAT) in my kernel, and
: mod_load'ing linux_mod.o works, but I also need Linux shared libraries. So I
: installed linux_lib-2.0, result - X won't start. It can't find its shared
: libraries, although they are in a standard directory (/usr/X11R6/lib). The
: error is 'ld.so: xinit: shared library (something) not found'.

: Also, in the boot sequence this appeared - 'ldconfig: 1: Syntax error: "("
: unexpected". I think this is because the lkm has to be loaded from the
: shell, so at boot time ldconfig (which is a Linux executable, giving 'Wrong
: Architecture' error if run from the shell) doesn't run, so the path to the
: shared libraries is not set up.

: To make ldconfig run, I need to put the lkm permanently into the kernel. How
: can I do this? (option LINUX doesn't work.)

: Michael

anorak:/usr/home/brian $ file /sbin/ldconfig
/sbin/ldconfig: FreeBSD/i386 demand paged executable

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....