*BSD News Article 67577


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!newsfeed.internetmci.com!in1.uu.net!news.vader.org!news.demon.co.uk!dispatch.news.demon.net!demon!longacre.demon.co.uk
From: searle@longacre.demon.co.uk (Michael Searle)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Problem with Linux emulation
Date: Fri, 03 May 1996 17:34:05 BST
Lines: 19
Message-ID: <nC8964EE8@longacre.demon.co.uk>
NNTP-Posting-Host: longacre.demon.co.uk
X-NNTP-Posting-Host: longacre.demon.co.uk
X-Newsreader: Offlite 0.09 / Termite Internet for Acorn RISC OS

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

-- 
searle@longacre.demon.co.uk