From owner-freebsd-questions@FreeBSD.ORG Mon Feb 13 12:47:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E565F1065674 for ; Mon, 13 Feb 2012 12:47:11 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 48FB68FC12 for ; Mon, 13 Feb 2012 12:47:11 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q1DCl756009287 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 13 Feb 2012 12:47:07 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.3 smtp.infracaninophile.co.uk q1DCl756009287 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1329137227; bh=r1pblNUbclPb4f8335yhhEl8Z5UuxRxra8wHdBKO5fc=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=w0QQB6eXST46NYwtZZBFrDeZB+EqB6/k5EqE50C3d25a1x4VoVge/4PihrC0+dRP0 9AfSlT6ZtKvI6spiefNTRW1yXyMXhdvOhbOK96QQN8AV9+oZZLZn382YYXZMBYO4MV qaCacqrMN4XcUDD+x/jsspbUQfL3jx5rRYcdrGM4= Message-ID: <4F39064B.2040307@infracaninophile.co.uk> Date: Mon, 13 Feb 2012 12:47:07 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120213110840.ab89da28.siefke_listen@web.de>, <4F38ED79.1080206@herveybayaustralia.com.au> <4F390077.6461.C4E215@dave.g8kbv.demon.co.uk> In-Reply-To: <4F390077.6461.C4E215@dave.g8kbv.demon.co.uk> X-Enigmail-Version: 1.3.5 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig56EB9A049757AA5137CD5B1E" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Linux compatibility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2012 12:47:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig56EB9A049757AA5137CD5B1E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 13/02/2012 12:22, Dave wrote: > On 13 Feb 2012 at 21:01, Da Rock wrote: >=20 >> On 02/13/12 20:08, siefke_listen@web.de wrote: >>> Hello, >>> >>> >>> I'm trying to get Linux running various applications to the. >>> Brandelf was applied to the binaries. But any Linux application >>> crashes at startup. >>> >>> freebsd-desk# kldstat >>> Id Refs Address Size Name >>> 1 21 0xc0400000 8c6d08 kernel >>> 2 1 0xc0cc7000 4864 sem.ko >>> 3 1 0xc41eb000 8000 linprocfs.ko >>> 4 1 0xc41f3000 28000 linux.ko >>> 5 1 0xc44ae000 9000 i915.ko >>> 6 1 0xc44b7000 15000 drm.ko >>> >>> freebsd-desk# cat /etc/rc.conf | grep linux >>> linux_enable=3D"YES" >>> >>> $ /usr/local/bin/linux-firefox >>> /usr/local/lib/linux-firefox/firefox: symbol lookup error: >>> /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt8messagesIcE2idE, >>> version GLIBCXX_3.4 >>> >>> $ /usr/local/bin/eagle >>> /usr/local/share/eagle5/bin/eagle: symbol lookup error: >>> /usr/lib/libstdc++.so.6: undefined symbol: _ZNSt8messagesIcE2idE, >>> version GLIBCXX_3.4 >>> >>> $ googleearth >>> ./googleearth-bin: symbol lookup error: ./libge_net.so: undefined >>> symbol: _ZNSbIwSt11char_traitsIwESaIwEE4_Rep20_S_empty_rep_storageE, >>> version GLIBCXX_3.4 >>> >>> Does anyone a idea where is the mistake? >> I was going to wait and see if anyone else responded, but you are best= >> off trying emulation@. >> >> Cheers >> >> >=20 > Don't you have to install/load a module for Linux binary compatability = to=20 > work in F'BSD? I seem to remember that being mentioned during a recent= =20 > 8.something install. Yes, you do. The module is called linux.ko and as you can see in the OP's kldstat listing, it is loaded. Usually that happens automatically, so it's quite rare to actually have to type 'kldload linux.ko' The undefined symbol errors suggest that the OP is missing some important linux shlibs which should be installed in /compat/linux/usr/lib -- what linuxbase port have you installed, and what distro did you obtain those linux executables from? Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig56EB9A049757AA5137CD5B1E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk85BksACgkQ8Mjk52CukIy3ogCfTqDxPCzcGYNjKQGlpxBOpYB6 cbAAmwTyIWIisOPxzJrOxVkJB5rCYmRI =Eeo1 -----END PGP SIGNATURE----- --------------enig56EB9A049757AA5137CD5B1E--