From owner-freebsd-hackers Wed Jun 27 4: 5:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from carbon.btinternet.com (carbon.btinternet.com [194.73.73.92]) by hub.freebsd.org (Postfix) with ESMTP id 6464E37B405; Wed, 27 Jun 2001 04:05:13 -0700 (PDT) (envelope-from john.toon@btinternet.com) Received: from host213-122-4-226.btinternet.com ([213.122.4.226] helo=btinternet.com) by carbon.btinternet.com with esmtp (Exim 3.22 #9) id 15FD89-0004gP-00; Wed, 27 Jun 2001 12:05:10 +0100 X-Mozilla-Status: 0801 Message-ID: <3B39BDED.6070609@btinternet.com> Date: Wed, 27 Jun 2001 12:05:17 +0100 From: John Toon User-Agent: Mozilla/5.0 (X11; U; FreeBSD 4.1-RELEASE i386; en-US; rv:0.9.1) Gecko/20010621 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Linux Emulation Problems Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm experiencing Linux emulation issues on my FreeBSD-4.1 setup. Whenever I attempt to run a Linux binary, they try to access my FreeBSD library /usr/X11R6/lib/libxalflaunch.so.0 - even for programs that apparently have *no* need of this library (Linux version or otherwise). In particular, neither the j2sdk-1_4_0-beta-linux-i386.bin archive extracts, nor does does the setup program for the Linux binary of build 627 of OpenOffice run correctly. For example, the setup program reports: ./setup: error in loading shared libraries: /usr/X11R6/lib/libxalflaunch.so.0: ELF file OS ABI invalid. Doing a truss ./setup gives: linux_brk(0x0) = 1 (0x1) linux_open("/usr/X11R6/lib/libxalflaunch.so.0",0,03001520044) = 3 (0x3) linux_newfstat(3,0xbfbff518) = 2 (0x2) read(0x3,0xbfbfe56c,0x1000) = 3 (0x3) close(3) = 1 (0x1) ./setupwrite(2,0xbfbffc48,7) = 3 (0x3) : error in loading shared libraries: write(2,0x18069820,37) = 3 (0x3) /usr/X11R6/lib/libxalflaunch.so.0write(2,0xbfbff6fc,33) = 3 (0x3) : write(2,0x18069816,2) = 3 (0x3) ELF file OS ABI invalid.write(2,0x18068dc6,24) = 3 (0x3) write(2,0x1806981b,0) = 3 (0x3) write(2,0x1806981b,0) = 3 (0x3) write(2,0x18069819,1) = 3 (0x3) exit(0x7f) process exit, rval = 32512 The Linux compatibility kernel module linux.ko is apparently loaded correctly: bash-2.04$ kldstat Id Refs Address Size Name 1 3 0xc0100000 26da84 kernel 2 1 0xc131e000 17000 usb.ko 4 1 0xc1349000 10000 linux.ko I tried reinstalling linux_base-6.1 to no effect. I'm not sure why I'm getting these problems - Linux emulation ran perfectly the last time I had a FreeBSD-4.x release installed on my computer. Anyone got any ideas/suggestions? Regards, John. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message