Running Linux binaries

Dancho Penev dpenev at mnet.bg
Tue Mar 9 11:58:30 PST 2004


On Tue, Mar 09, 2004 at 03:16:12PM +0300, Dmitry wrote:
>To: freebsd-questions at freebsd.org
>From: Dmitry <v_dm at mail.ru>
>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

No.

>I have to get the Linux versions of them?

Yes.

>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
>
>Thanks.
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

-- 
Dancho Penev

GnuGP public key: http://www.mnet.bg/~dpenev/gnupg.key
Key fingerprint: E88D 8B7B 3EF6 E9C8 C5D2 7554 2AA8 C347 71A1 4277
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040309/a0714f07/attachment.bin


More information about the freebsd-questions mailing list