Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2008 10:30:53 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        hans@lambermont.dyndns.org (Hans Lambermont)
Cc:        freebsd-emulation@FreeBSD.org
Subject:   Re: devel/linux-glib2 ELF binary type "3" not known.
Message-ID:  <08253186@ipt.ru>
In-Reply-To: <20080428210203.GD61420@leia.lambermont.dyndns.org> (Hans Lambermont's message of "Mon\, 28 Apr 2008 23\:02\:03 %2B0200")
References:  <20080428210203.GD61420@leia.lambermont.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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