From owner-freebsd-questions@FreeBSD.ORG Tue Jan 30 04:48:40 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EED3C16A400 for ; Tue, 30 Jan 2007 04:48:40 +0000 (UTC) (envelope-from peter@topcomtech.com.cn) Received: from mail.topcomtech.com.cn (61-221-55-190.HINET-IP.hinet.net [61.221.55.190]) by mx1.freebsd.org (Postfix) with ESMTP id 8748A13C428 for ; Tue, 30 Jan 2007 04:48:38 +0000 (UTC) (envelope-from peter@topcomtech.com.cn) Received: from [192.168.14.186] ([219.137.13.77]) (authenticated bits=0) by mail.topcomtech.com.cn (8.12.9/8.12.9) with ESMTP id l0U4gc5R080243 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 30 Jan 2007 12:43:09 +0800 (CST) (envelope-from peter@topcomtech.com.cn) From: peter To: ante@Update.UU.SE Content-Type: text/plain Date: Tue, 30 Jan 2007 12:43:21 +0800 Message-Id: <1170132201.84201.47.camel@pjfs.renzhichu.cc> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: how to enable linux flash player in firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 04:48:41 -0000 > 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 Then reboot your machine. Now it should work. hope this help you. peter