draconius
July 13th, 2004, 22:29
I dont know if maybe I am just retarded, and couldn't get flash working for a long time with firefox, or what...but I was reading through a couple of posts here on SE about people with flash and firefox, and wasnt getting things to work...so then i was in #screamingelectron and optyk suggested that I check the FreeBSD handbook...and lo and behold...there were instructions for installing flash for mozilla...so with just a couple of changes...I got it working on firefox...
Basically, here is what i did:
cd /usr/ports/www/flashpluginwrapper/
make all install clean
So now, this port should have installed the linux flashplugin (for me, it installed linux-flashplugin-5.0r51_1) as well as the flashpluginwrapper.
After it has installed, it will come up and tell you to do the following:
If you are using a Mozilla browser, you first need to copy the linux
flash plugin into the mozilla plugins directory:
# cp /usr/local/lib/flash/libflashplayer.so \
/usr/X11R6/lib/browser_plugins/libflashplayer_linux.so
# cp /usr/local/lib/flash/ShockwaveFlash.class \
/usr/X11R6/lib/browser_plugins/
Next, change the Mozilla startup script, /usr/X11R6/bin/mozilla
to have:
LD_PRELOAD=/usr/local/lib/libflashplayer.so.1
export LD_PRELOAD
at the top of it (but after #!/bin/sh). Now start mozilla and go to
'about:plugins' and the flash plugin is enabled!
Basically, all you then need to do is change the directories you copy the linux and shockwave plugins to...for me, this is what I did...yours may vary a bit...
I
root@xenon ttyp1 22:25:13 Tue Jul 13 /usr/
$ cp /usr/local/lib/flash/libflashplayer.so /usr/X11R6/lib/firefox/lib/firefox-0.9.1/
root@xenon ttyp1 22:25:13 Tue Jul 13 /usr/
$ cp /usr/local/lib/flash/ShockwaveFlash.class /usr/X11R6/lib/firefox/lib/firefox-0.9.1/
Now you have the flash and shockwave plugins in their right places...so edit your firefox startup script, mine was at
/usr/X11R6/bin/firefox
Now simply put the following text in your firefox script, somewhere under the #!/bin/sh:
LD_PRELOAD=/usr/local/lib/libflashplayer.so.1
export LD_PRELOAD
I am happy I now have flash. w00t. FreeBSD works for everything I ever wanted it to do except for games. stupid windows :2gunsfiri
Basically, here is what i did:
cd /usr/ports/www/flashpluginwrapper/
make all install clean
So now, this port should have installed the linux flashplugin (for me, it installed linux-flashplugin-5.0r51_1) as well as the flashpluginwrapper.
After it has installed, it will come up and tell you to do the following:
If you are using a Mozilla browser, you first need to copy the linux
flash plugin into the mozilla plugins directory:
# cp /usr/local/lib/flash/libflashplayer.so \
/usr/X11R6/lib/browser_plugins/libflashplayer_linux.so
# cp /usr/local/lib/flash/ShockwaveFlash.class \
/usr/X11R6/lib/browser_plugins/
Next, change the Mozilla startup script, /usr/X11R6/bin/mozilla
to have:
LD_PRELOAD=/usr/local/lib/libflashplayer.so.1
export LD_PRELOAD
at the top of it (but after #!/bin/sh). Now start mozilla and go to
'about:plugins' and the flash plugin is enabled!
Basically, all you then need to do is change the directories you copy the linux and shockwave plugins to...for me, this is what I did...yours may vary a bit...
I
root@xenon ttyp1 22:25:13 Tue Jul 13 /usr/
$ cp /usr/local/lib/flash/libflashplayer.so /usr/X11R6/lib/firefox/lib/firefox-0.9.1/
root@xenon ttyp1 22:25:13 Tue Jul 13 /usr/
$ cp /usr/local/lib/flash/ShockwaveFlash.class /usr/X11R6/lib/firefox/lib/firefox-0.9.1/
Now you have the flash and shockwave plugins in their right places...so edit your firefox startup script, mine was at
/usr/X11R6/bin/firefox
Now simply put the following text in your firefox script, somewhere under the #!/bin/sh:
LD_PRELOAD=/usr/local/lib/libflashplayer.so.1
export LD_PRELOAD
I am happy I now have flash. w00t. FreeBSD works for everything I ever wanted it to do except for games. stupid windows :2gunsfiri