[轉錄]Re: {freeBSD] linux-flashplugin7 crash
※ 本文轉錄自 [Edward] 看板
作者: Edward (蒙古大夫) 站內: Edward
標題: Re: {freeBSD] linux-flashplugin7 crash
時間: Tue Jul 18 23:23:28 2006
Solution
原文:http://www.unixlike.com.br/?p=%2081
英文:http://altbit.org/pseudorandom/unixlike_translation.txt
<quote>
English translation of: http://www.unixlike.com.br/?p=%2081
Here's a quick tip to install firefox and view sites with flash
and pdf's without a problem!
# portinstall firefox
# portinstall linux-flashplugin7
# portinstall linuxpluginwrapper
# portinstall acroread7
or
# cd /usr/ports/www/firefox; make install clean
# cd /usr/ports/www/linux-flashplugin7; make install clean
# cd /usr/ports/www/linuxpluginwrapper; make install clean
# cd /usr/ports/print/acroread7; make install clean
I had problems when I opened sites with flash, Firefox simply closed.
There is a path that fixes this problem. The link to the path is in
this archive:
# cat /usr/ports/www/linuxpluginwrapper/pkg_message
Applying the patch:
# cd /tmp
# fetch \
http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff
# cd /usr/src
# patch -p0 < /tmp/rtld_dlsym_hack.diff
# cd /usr/src/libexec/rtld-elf/
# make clean cleandir
# make obj
# make depend
# make && make install
We need to make some links:
# cd /usr/X11R6/lib/browser_plugins/
# ln -s /usr/X11R6/lib/linux-flashplugin7/flashplayer.xpt
# ln -s /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so
Now it doesn't create the archive /etc/libmap.conf.
The installer linuxpluginwrapper puts examples from
libmap.conf in the examples directory:
# cd /usr/local/share/examples/linuxpluginwrapper/
# ls
libmap.conf-FreeBSD4.x libmap.conf-FreeBSD5-stable
libmap.conf-FreeBSD5-current libmap.conf-FreeBSD6
Copy the archive that corresponds with your version of FreeBSD.
In my case I use FreeBSD 6.0.
# cp libmap.conf-FreeBSD6 /etc/libmap.conf
Comment out the lines except the ones for the installed plugins.
Example: http://www.unixlike.com.br/coisas/firefox/libmap.conf
Now all you have to do is start firefox and view a site with flash.
</quote>
ps.咦,怎麼不 send-pr?
--
道隱於小成,言隱於榮華。(莊子.齊物論)
--
※ Origin: SayYA 資訊站 <bbs.sayya.org>
◆ From: edt1023.sayya.org
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章