Date: Wed, 27 Jun 2001 12:05:17 +0100 From: John Toon <john.toon@btinternet.com> To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: Linux Emulation Problems Message-ID: <3B39BDED.6070609@btinternet.com>
next in thread | raw e-mail | index | archive | help
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-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B39BDED.6070609>