Date: Tue, 27 Jun 2006 16:20:32 -0300 From: Duane Whitty <duane@dwlabs.ca> To: Chris Maness <chris@chrismaness.com> Cc: freebsd-questions@freebsd.org Subject: Re: firefox with flash and java! Message-ID: <20060627192031.GA17617@dwpc.dwlabs.ca> In-Reply-To: <44A0C3EB.10704@chrismaness.com> References: <44A0C3EB.10704@chrismaness.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 26, 2006 at 10:36:43PM -0700, Chris Maness wrote: > >On Tue, 23 May 2006 23:40:37 +0000 > >"Marwan Sultan" <dead_l... > ><http://groups.google.com/groups/unlock?msg=695fbeab0c2a56e4&_done=/group/list.freebsd.questions/browse_thread/thread/220f6510efe41d89/6e9a9d715460864c%3Fq%3Drtld_dlsym_hack.diff%26rnum%3D1>@hotmail.com> > >wrote: > >> hello everyone! > > > >> I'm really sorry to ask over here, but sick and tired browsing and > >asking > >> around. > > > >> I'm on latest FreeBSD 6.1R latest KDE and latest firefox 1.5.3 > >> I cannot find the flash plugins for Konqueror because no more port > >for it, > >> (linux-flashplgin6) > > > >> So i have installed Firefox, now i'm lost, which in port is the flash > >> plugin? > > > >> I have linux-flashplugin7 installed, linuxpluginwrapper, > > > >looks ok > > > >$ pkg_info | grep -i flash && pkg_info | grep -i firefox > >linux-flashplugin-7.0r63 The official Macromedia Flash Player for > >Linux Mozilla > > > > firefox-1.5.0.3,1 Web browser based on the browser portion of Mozilla > >firefox-remote-20040803 Wrapper scripts for firefox web browser > > > >> But flash still not workin in firefox, i dont know what to do now? > >> Will someone kindly guied me for this? how to install flash, for > >firefox? > >> and enable it. > > > >from someone else's kind instructions, which worked great for me: > > > >- modify your libmap.conf , following what is shown in > >what /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 > > > >- Finally edit /usr/X11R6/lib/firefox/run-mozilla.sh and add > > /usr/X11R6/lib/linux-flashplugin6 to MOZ_PLUGIN_PATH > > (near the end of the script) (colon-separated path components) > > > >- path your kernel: > >Please get and apply a dlsym(3) hook patch (apply in /usr/src ; then cd > >libexec/rtld-elf and do make rtld) > >http://people.FreeBSD.org/~nork/*rtld_dlsym_hack.diff* > ><http://people.FreeBSD.org/%7Enork/rtld_dlsym_hack.diff> This provides > >_dlsym(3) > >function to fix dynamic-link error "can't find gtk_major_version" > >ad-hoc-ly. > > > >$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 > >$sudo make rtld > >$ sudo make install > > > >> Also How to install java? on firefox? it would be my next step. > > > >> Is there by any chance away to run flash for Konqueror? or better to > >> delete this package if im > >> having firefox? > > > >i dont know, dont use kde. > >good luck, > >Beto > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060627192031.GA17617>