Date: Tue, 09 Mar 2004 15:16:12 +0300 From: Dmitry <v_dm@mail.ru> To: freebsd-questions@freebsd.org Subject: Running Linux binaries Message-ID: <opr4lgdaf7k2rps3@smtp.mail.ru>
next in thread | raw e-mail | index | archive | help
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? And the last question. If a binary uses a Linux proc filesystem will it be anought to mount linprocfs to /compat/linux/proc Thanks.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr4lgdaf7k2rps3>