firefox with flash and java!
chris at chrismaness.com
Tue Jun 27 20:56:10 UTC 2006
Duane Whitty wrote:
>> I have followed all of the instructions for patching the src (from
>> above), and firefox still crashes with the error: /libexec/ld-elf.so.1:
>> /usr/local/lib/pluginwrapper/flash7.so: Undefined symbol "_dlsym" when
>> a flash page is loaded. What have I missed?
> I'm using flash on 6-STABLE so I don't know if it works on 6.1R or not.
> Make sure you linux_base ports and linuxpluginwrapper are up-to-date.
> I'll assume your linux-flashplugin-7 is up-to-date. My version is
> A directory listing of /usr/X11R6/lib/firefox/plugins might also help.
> Here is what my listing looks like:
> dwpc@ /etc# ll /usr/X11R6/lib/firefox/plugins
> total 32
> lrwxr-xr-x 1 root wheel 49 Jun 26 23:39 flashplayer.xpt -> /usr/X11R6/lib/linux-flashplugin7/flashplayer.xpt
> lrwxr-xr-x 1 root wheel 51 Jun 26 23:40 libflashplayer.so -> /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so
> -rwxr-xr-x 1 root wheel 19216 Jun 19 17:45 libnullplugin.so
> -rwxr-xr-x 1 root wheel 11632 Jun 19 17:45 libunixprintplugin.so
> Also here is what my /etc/libmap.conf looks like:
> # [ALPHA SUPPORT] Flash7 with Mozilla
> 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
> BTW, there is a discussion concerning this on current@
> which is very interesting and I recommend as good reading.
> As that discussion implies and as the linuxpluginwrapper
> states explicitly, this is unsupported.
> Hope this helps. YMMV
I was able to get it to work by following different instructions on
patching the /usr/src tree.
# cd /usr/src
# fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff
# patch < rtld_dlsym_hack.diff
# cd libexec/rtld-elf/
# make clean
# make obj
# make depend
# make install
worked like a charm ;o)
More information about the freebsd-questions