ports/102474: linux_base-fc-4_8 appears broken, does not allow to run Linux binaries

Alexander Leidinger Alexander at Leidinger.net
Fri Sep 1 19:27:00 UTC 2006


Quoting "Scott T. Hildreth" <shildret at 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 = 72077137



More information about the freebsd-emulation mailing list