On Tue, Mar 09, 2004 at 03:16:12PM +0300, Dmitry wrote:
From: Dmitry <[EMAIL PROTECTED]>
Date: Tue, 09 Mar 2004 15:16:12 +0300
Subject: Running Linux binaries

Hi all.
I'm trying to run a Linux binary in FreeBSD 5.2.
I have Linux compat installed and kld module linux.ko loaded

I'm getting this error message:

$ ./breve
./breve: error while loading sharing libraries: libglut.so.3:
cannot open shared object file: No such file or directory

It looks like it need libglut.so.3. I have it. I copy it from
/usr/X11R6/lib to /compat/linux/lib and try to run the binary again:

$ ./breve
./breve: error while loading sharing libraries: libglut.so.3:
ELF file OS ABI invalid

I tried branding it as written in Handbook but it changes nothing.

Is there any way to use FreeBSD libraries to run Linux binaries or


I have to get the Linux versions of them?


And how to cross-compile libraries if i have sources?

Install devel/linux_devtools port.

And the last question. If a binary uses a Linux proc filesystem will it be anought to mount linprocfs to /compat/linux/proc

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- Dancho Penev

GnuGP public key: http://www.mnet.bg/~dpenev/gnupg.key
Key fingerprint: E88D 8B7B 3EF6 E9C8 C5D2 7554 2AA8 C347 71A1 4277

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to