how to enable linux flash player in firefox
Marc Fonvieille
blackend at freebsd.org
Tue Jan 30 07:00:58 UTC 2007
On Tue, Jan 30, 2007 at 12:43:21PM +0800, peter wrote:
> > Andreas Davour wrote:
>
> > Sorry for being so lost. I'm totally lost in the native/emulated mess
> > and which of the ports work with which.
> >It's terribly sad that nobody can make it work, as of now. I really
> >hope
> >FreeBSD 7 can make a change.
>
> I'm now using 6.2-PRERELEASE as the desktop with firefox
> 2,linux-flashplugin7. All work well.
>
> That confused me for few days, now I write the detail steps for you.
>
> 1.Use portsnap update the ports tree.You can read the info from the
> freebsd handbook, "Appendix A. Obtaining FreeBSD"
>
> 2.Install linux_base from /usr/ports/emulators/linux_base-fc4,
> In /etc/rc.onf, add the line: linux_enable="YES"
>
> 3.Install firefox2 from /usr/ports/www/firefox.
>
> 4.Install linuxpluginwrapper in /usr/ports/www/linuxpluginwrapper.
> cp /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 /etc/libmap.conf
>
> 5.Install linux-flashplugin7 in /usr/ports/www/linux-flashplugin7.
> In handbook :
> # ln -s /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so \
> /usr/X11R6/lib/browser_plugins/
> # ln -s /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt \
> /usr/X11R6/lib/browser_plugins/
>
> but firefox plugin directory is /usr/local/lib/browser_plugins/, so you must change above line
> /usr/X11R6/lib/browser_plugins/ to /usr/local/lib/browser_plugins/
>
> 6.Check the libexec directory exists in /usr/src,
> if no, #sysinstall-> custom->deistributions->src->libexec, then
> # cd /usr/src/libexec
> # fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff
> # patch < rtld_dlsym_hack.diff
> # cd rtld-elf
> # make clean
> # make obj
> # make depend
> # make && make install
>
That last part is useless now and will not work with 6.2-RELEASE.
The current working way, is using a freash port tree and following the
Handbook instructions. This is for Flash 7 (with or without soound
according to the site you visit), for Flash 9 it's another story...
--
Marc
More information about the freebsd-questions
mailing list