Installing Flash plugin 10 for Firefox 7 in FreeBSD unix 8.0

When I upgraded from Firefox 3.x to Firefox 7, the older flash plugin stopped working.These are the steps which worked for me, to reinstall the flash plugin:

Assumptions

The Linux® process file system, linprocfs(5) is already mounted using either the manual command:

# mount -t linprocfs linproc /usr/compat/linux/proc

or set to run at boot time by adding the following line in /etc/fstab

linproc /usr/compat/linux/proc linprocfs rw 0 0

The linux emulator port /usr/ports/emulators/linux_base-f10 is already installed.

Firefox 7 is already installed. Note that firefox runs as firefox and not as firefox7 (Firefox 3.x ran as firefox3)

Steps

Install the /usr/ports/www/nspluginwrapper port using make or portmaster

Install the /usr/ports/www/linux-f10-flashplugin10 port

Make sure that you have $HOME/.mozilla/plugins folder present. If not, then create it manually.

The .mozilla/plugins folder is where the flash plugin should be installed by default but generally it doesnt so this has to be resolved by creating a symlink

# ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so
/$HOME/.mozilla/plugins/

For each user the plugin must be installed using the command

nspluginwrapper -v -a -i

Next run the command nspluginwrapper -l to see if the plugin was found in $HOME/.mozilla/plugins folder. If not then remove the symlink above and manually copy the libflashplayer.so into that folder. Run

nspluginwrapper -v -a -i

Close firefox if open and reload it. Type in about:plugins and it should the presense of the flash plugin.

Hope this helps.

2 Comments

Leave a Reply to amit Cancel reply

Your email address will not be published.


*