Date: Wed, 27 Jun 2001 06:59:27 -0500 From: David Leimbach <dleimbac@earthlink.net> To: John Toon <john.toon@btinternet.com> Cc: questions@freebsd.org Subject: Re: Linux Emulation Problems Message-ID: <20010627065927.A444@mutt.home.net> In-Reply-To: <3B39BDED.6070609@btinternet.com>; from john.toon@btinternet.com on Wed, Jun 27, 2001 at 12:05:17PM %2B0100 References: <3B39BDED.6070609@btinternet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Are you sure the linux binaries you are trying to run are properly "branded"
as linux binaries.
man brandelf.
Dave
On Wed, Jun 27, 2001 at 12:05:17PM +0100, John Toon wrote:
> 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
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?20010627065927.A444>
