Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2007 07:50:30 +0100
From:      Marc Fonvieille <blackend@freebsd.org>
To:        peter <peter@topcomtech.com.cn>
Cc:        ante@Update.UU.SE, freebsd-questions@freebsd.org
Subject:   Re: how to enable linux flash player in firefox
Message-ID:  <20070130065030.GA61232@abigail.blackend.org>
In-Reply-To: <1170132201.84201.47.camel@pjfs.renzhichu.cc>
References:  <1170132201.84201.47.camel@pjfs.renzhichu.cc>

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



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