Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 22:03:35 +0200
From:      Dancho Penev <dpenev@mnet.bg>
To:        Dmitry <v_dm@mail.ru>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Running Linux binaries
Message-ID:  <20040309200335.GA615@earth.dpsca.bg>
In-Reply-To: <opr4lgdaf7k2rps3@smtp.mail.ru>
References:  <opr4lgdaf7k2rps3@smtp.mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 09, 2004 at 03:16:12PM +0300, Dmitry wrote:
>To: freebsd-questions@freebsd.org
>From: Dmitry <v_dm@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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or=
g"

--=20
Dancho Penev

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

--WIyZ46R2i8wDzkSu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFATiMXKqjDR3GhQncRAod3AKCFj1ILSSO7PAQ+CQQEr02ojW0LbQCcDHgN
B/rrWLsbOZMZ68Un9Svye1Y=
=goEt
-----END PGP SIGNATURE-----

--WIyZ46R2i8wDzkSu--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040309200335.GA615>