Linuxpluginwrapper

Hans Nieser h.nieser at xs4all.nl
Mon Nov 14 23:32:23 GMT 2005


Hans Nieser wrote:
> Dev Tugnait wrote:
> 
>> I have built the linuxpluginwrapper port but it  doesn't work anymore.
>> Attaching my libmap.conf
>>
>> Here's what happens when i do a deinstall in that port
>> ===>  Deinstalling for www/linuxpluginwrapper
>> ===>   Deinstalling linuxpluginwrapper-20050910
>> pkg_delete: file '/usr/local/sbin/is_enabled_lpw' doesn't exist
>> pkg_delete: couldn't entirely delete package (perhaps the packing list
>> is
>> incorrectly specified?)
>>
>> Anyone got flash working?
>>
> 
> I haven't been unable to uninstall anything, but I definitely am having
> issues getting flash to work for firefox. I have an up-to-date portstree
> and have all the latest version of ports installed.
> 
> I've simply tried installing linuxpluginwrapper and linux-flashplugin7,
> with the following in my /etc/libmap.conf:
> 
> #######################################################
> # [ALPHA SUPPORT] Flash7 with Mozilla
> [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so]
> libpthread.so.0                 libpthread.so.2
> libdl.so.2                      pluginwrapper/flash7.so
> libz.so.1                       libz.so.3
> libm.so.6                       libm.so.4
> libc.so.6                       pluginwrapper/flash7.so
> 
> I've been told to link something, but not what needs to be linked to what
> exactly, and I don't really understand much about the whole library thing
> to figure it out for myself...

Thanks to the helpful people in #freebsd-gnome on freenode IRC I got it to 
work doing the following (the diff step was in the pkg-message for 
linuxpluginwrapper, so missing that step was my own fault):

- Install www/linuxpluginwrapper
- Install www/linux-flashplugin7
- Put following in /etc/libmap.conf

   [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so]
   libpthread.so.0                 libpthread.so.2
   libdl.so.2                      pluginwrapper/flash7.so
   libz.so.1                       libz.so.3
   libm.so.6                       libm.so.4
   libc.so.6                       pluginwrapper/flash7.so

- Apply the patch at http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff 
to /usr/src/libexec/rtld-elf/rtld.c (using "patch < difffile").
- Rebuild rtld-elf:

   cd /usr/src/libexec/rtld-elf/
   make clean cleandir
   make clean cleandir
   make obj
   make depend
   make
   make install

- Link the plugin:

   ln -s /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so 
/usr/X11R6/lib/browser_plugins/


More information about the freebsd-questions mailing list