Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2006 12:54:13 -0700
From:      Chris Maness <chris@chrismaness.com>
To:        Duane Whitty <duane@dwlabs.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: firefox with flash and java!
Message-ID:  <44A18CE5.70301@chrismaness.com>
In-Reply-To: <20060627192031.GA17617@dwpc.dwlabs.ca>
References:  <44A0C3EB.10704@chrismaness.com> <20060627192031.GA17617@dwpc.dwlabs.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44A18CE5.70301>