devel/linux-glib2 ELF binary type "3" not known.

Boris Samorodov bsam at ipt.ru
Tue Apr 29 06:30:58 UTC 2008


On Mon, 28 Apr 2008 23:02:03 +0200 Hans Lambermont wrote:

> I get the following error on FreeBSD 7.0-RELEASE, fresh portsnap tree.

> frag# cd /usr/ports/devel/linux-glib2
> frag# make clean
> ===>  Cleaning for linux-glib2-2.6.6
> frag# make install
> ===>  Extracting for linux-glib2-2.6.6
> => MD5 Checksum OK for rpm/i386/fedora/4/glib2-2.6.6-1.i386.rpm.
> => SHA256 Checksum OK for rpm/i386/fedora/4/glib2-2.6.6-1.i386.rpm.
> ===>   linux-glib2-2.6.6 depends on file: /usr/local/bin/rpm2cpio - found
> ===>  Patching for linux-glib2-2.6.6
> ===>  Configuring for linux-glib2-2.6.6
> ===>  Installing for linux-glib2-2.6.6
> ===>   linux-glib2-2.6.6 depends on file: /compat/linux/etc/fedora-release - found
> ===>   Generating temporary packing list
> ===>  Checking if devel/linux-glib2 already installed
> cd /tmp/usr/ports/devel/linux-glib2/work && /usr/bin/find * -type d -exec /bin/mkdir -p "/compat/linux/{}" \;
> cd /tmp/usr/ports/devel/linux-glib2/work && /usr/bin/find * ! -type d | /usr/bin/cpio -pm -R root:wheel /compat/linux
> 3914 blocks
> ===>   Running linux ldconfig
> /compat/linux/sbin/ldconfig -r /compat/linux
> ELF binary type "3" not known.
> /compat/linux/sbin/ldconfig: 1: Syntax error: "(" unexpected
> *** Error code 2

> Stop in /usr/ports/devel/linux-glib2.

> Any ideas ?

Did you enable linux emulation? You can do it (one way) by
"sudo kldload linux".


WBR
-- 
bsam


More information about the freebsd-emulation mailing list