From owner-freebsd-emulation@FreeBSD.ORG Fri Sep 1 19:27:00 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D671116A5A6 for ; Fri, 1 Sep 2006 19:27:00 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id D49E943DDC for ; Fri, 1 Sep 2006 19:26:19 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FC22.dip.t-dialin.net [84.165.252.34]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k81J5NqM085199; Fri, 1 Sep 2006 21:06:30 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (webmail.Leidinger.net [192.168.1.102]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k7U77Eor006991; Wed, 30 Aug 2006 09:07:14 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from psbru.cec.eu.int (psbru.cec.eu.int [158.169.131.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 30 Aug 2006 09:07:13 +0200 Message-ID: <20060830090713.dyn0os868kw0cc0o@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 30 Aug 2006 09:07:13 +0200 From: Alexander Leidinger To: "Scott T. Hildreth" References: <200608251030.k7PAUQDK083478@freefall.freebsd.org> <1156909898.89850.86.camel@fbsd1.dyndns.org> In-Reply-To: <1156909898.89850.86.camel@fbsd1.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-Virus-Scanned: by amavisd-new X-Mailman-Approved-At: Fri, 01 Sep 2006 23:57:16 +0000 Cc: freebsd-emulation@FreeBSD.org Subject: Re: ports/102474: linux_base-fc-4_8 appears broken, does not allow to run Linux binaries X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 19:27:00 -0000 Quoting "Scott T. Hildreth" (from Tue, 29 =20 Aug 2006 22:51:37 -0500): > Well I am trying to follow the threads, I know I am missing something > here. To make sure I removed all linux packages. I reinstalled, I do > get this link created by the linux_base-fc4 or linuxpluginwrapper is > creating it. > > lrwxrwxrwx 1 root wheel 19 Aug 29 20:52 =20 > /usr/compat/linux/lib/libpthread.so.0 -> libpthread-2.3.6.so > > Then I can run acroread, but the browser plugins aren't working. > The errors messages are, > > LoadPlugin: failed to initialize shared library =20 > /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so [Shared objec > t "libpthread.so.0" not found, required by "libflashplayer.so"] If you're on 7-current: no chance to run linuxpluginwrapper ATM (work =20 is done to come up with some userland linux compatibility stuff: =20 "morphing linux objects to FreeBSD ones..." one could say, but it's =20 not finished yet AFAIK). If you on anything else: your libmap.conf is out of date, please =20 compare with the example provided by linuxpluginwrapper =20 (/usr/local/share/example/???). Background: Linuxpluginwrapper does not need any linux_base stuff. It =20 comes with some shims which wrap FreeBSD native lib calls to Linux =20 ones. The linux code is referencing libpthread.so.0 (and other libs) =20 and libmap.conf is mapping the libs to the glue code. The linux =20 plugins are calling the wrappers in the glue code and the glue code is =20 calling FreeBSD native code. Bye, Alexander. --=20 There are three rules for writing a novel. Unfortunately, no one knows what they are. =09=09-- Maugham http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137