Date: Wed, 30 Aug 2006 09:07:13 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: "Scott T. Hildreth" <shildret@fbsd1.dyndns.org> Cc: freebsd-emulation@FreeBSD.org Subject: Re: ports/102474: linux_base-fc-4_8 appears broken, does not allow to run Linux binaries Message-ID: <20060830090713.dyn0os868kw0cc0o@webmail.leidinger.net> In-Reply-To: <1156909898.89850.86.camel@fbsd1.dyndns.org> References: <200608251030.k7PAUQDK083478@freefall.freebsd.org> <1156909898.89850.86.camel@fbsd1.dyndns.org>
index | next in thread | previous in thread | raw e-mail
Quoting "Scott T. Hildreth" <shildret@fbsd1.dyndns.org> (from Tue, 29 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 > /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 > /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 is done to come up with some userland linux compatibility stuff: "morphing linux objects to FreeBSD ones..." one could say, but it's not finished yet AFAIK). If you on anything else: your libmap.conf is out of date, please compare with the example provided by linuxpluginwrapper (/usr/local/share/example/???). Background: Linuxpluginwrapper does not need any linux_base stuff. It comes with some shims which wrap FreeBSD native lib calls to Linux ones. The linux code is referencing libpthread.so.0 (and other libs) and libmap.conf is mapping the libs to the glue code. The linux plugins are calling the wrappers in the glue code and the glue code is calling FreeBSD native code. Bye, Alexander. -- There are three rules for writing a novel. Unfortunately, no one knows what they are. -- Maugham http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060830090713.dyn0os868kw0cc0o>
