FreeBSD Flash Plugin for Mozilla
Okay, I have managed to get Flash working with Mozilla. I feel like an idiot doing these things, because I have trouble finding documentation about The Right Way to do this. In many cases, I don't even see people sending questions to the mailing lists about it. That tells me that there is some obvious, common-sense way to get it working, but I have not discovered it. In my opinion, it would be nice of this stuff worked out of the box.
The combination I have working is this:
- FreeBSD 5.2.1
- Mozilla (Native) 1.5
- Shockwave Flash 6.0 r79
From the ports collection, install devel/linuxthreads and www/linuxpluginwrapper. Then set up libmap.conf so the plugin will use special libraries:
# /etc/libmap.conf # # For Mozilla Linux Flash Plugin [/usr/local/lib/linux-flashplugin6/libflashplayer.so] libpthread.so.0 liblthread.so.3 libdl.so.2 pluginwrapper/flash6.so libz.so.1 libz.so.2 libstdc++-libc6.2-2.so.3 liblstdc++.so.4 libm.so.6 libm.so.2 libc.so.6 pluginwrapper/flash6.so
Essentially, I am running Mozilla compiled natively for FreeBSD. The Flash plugin is being run under the Linux emulator, because the folks at Macromedia don't believe we matter. Note that this attempts to install both the Flash plugin and the Adobe Acrobat reader plugin. I couldn't quite get the Acrobat plugin to work, but I've always been happy with xpdf anyway, so I took it out.
Note that the browser appears to look in the /usr/X11R6/lib/browser_plugins directory to find the installed plugins.