firefox with flash and java!

Bob Middaugh bob.middaugh at comcast.net
Wed Jun 28 13:04:44 UTC 2006


 -------------- Original message ----------------------
From: Chris Maness <chris at chrismaness.com>
> 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?
> >>     
> >
> > Hi,
> >
> > 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
> > linux-flashplugin-7.0r63.
> >
> > 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
> > [/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
> >
> >
> > 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
> >
> > --Duane
> >   
> 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 
> <http://people.FreeBSD.org/%7Enork/rtld_dlsym_hack.diff>
> # patch < rtld_dlsym_hack.diff
> # cd libexec/rtld-elf/
> # make clean
> # make obj
> # make depend
> # make
> # make install
> 
> worked like a charm ;o)
> 
> Chris Maness


fwiw, I've followed these instructions on a few boxes, all 6.1-RELEASE, and have had no problems:

http://www.unixlike.com.br/?p=%2081

hth,
Bob


More information about the freebsd-questions mailing list