PDA

View Full Version : libflashplayer.so can't find libdl.so.2


Maledictus
January 2nd, 2009, 13:26
Hi all,

I installed linux-flashplugin9 with linux_base-f8 and compat.linux.osrelease=2.6.16 I copied libflashplayer.so to /usr/local/lib/firefox3/plugins. Whenever I run firefox now it says:

% firefox
LoadPlugin: failed to initialize shared library /usr/local/lib/firefox3/plugins/libflashplayer.so [Shared object "libdl.so.2" not found, required by "libflashplayer.so"]


I'm running a fairly recent 7-STABLE. The file /compat/linux/usr/lib/libdl.so.2 exists. When I copy the file into the plugin directory it complains about the next file missing which is libpthread.so.0 in this case after that another.

Any ideas?

schtipoun
January 2nd, 2009, 15:42
And if you link the two directories ?

% ln -s /compat/linux/usr/lib /usr/local/lib/firefox3/plugins

Maledictus
January 3rd, 2009, 01:56
I don't think that will work as there are other files in the second directory.

ale
January 3rd, 2009, 02:05
Instead of creating links etc, install www/nspluginwrapper.
Then, as the user who runs firefox, run nspluginwrapper -a -v -i and restart firefox.

Maledictus
May 15th, 2009, 15:42
After running nspluginwrapper it ran till now. Today I upgraded every port and now I get this error message again and flash is not working. I ran nsplugiwrapper again but this time it didn't help. Any idea?

ale
May 16th, 2009, 00:25
Today I upgraded every port and now I get this error message again and flash is not working.Define "every port".

I ran nsplugiwrapper again but this time it didn't help. Any idea?I would start tryingrm ~/.mozilla/plugins/npwrapper.libflashplayer.so
nspluginwrapper -a -v -i
Personally, I'm still running linux_base-fc-4+linux-flashplugin7 as 2.6.16 emulation IMHO is far from optimal.
For example, when I've tried flash9, it froze on youtube dot com
as soon as the progress was touched, dumping half gb core files, while it's working with flash7. There are also problem with linux opengl ehm...apps using the nvidia driver.