27

October
2012

Troubles with flashplayer

I was trying to use Adobe Flash in Slax and noticed it doesn't work at all. The plugin was loaded, but a bunch of strange errors appeared on stdout and the flash animations simply didn't work.

The errors were like this:

(plugin-container:8821): Gtk-CRITICAL **: IA__gtk_widget_get_visual: assertion `GTK_IS_WIDGET (widget)' failed
(plugin-container:8821): Gdk-CRITICAL **: IA__gdk_colormap_new: assertion `GDK_IS_VISUAL (visual)' failed
(plugin-container:8821): Gdk-CRITICAL **: IA__gdk_colormap_alloc_colors: assertion `GDK_IS_COLORMAP (colormap)' failed
(plugin-container:8821): Gtk-CRITICAL **: IA__gtk_widget_modify_bg: assertion `GTK_IS_WIDGET (widget)' failed
(plugin-container:8821): Gtk-CRITICAL **: IA__gtk_widget_get_visual: assertion `GTK_IS_WIDGET (widget)' failed

I'm posting it here so google can possibly index it and provide solution to someone else who will face the same problem.

The solution is pretty tricky, and I do not understand why is that at all. The flashplayer plugin needs libsasl2 to work. Slackware provides bunch of shared libraries in aaa_elflibs, but libsasl2 is missing there (for a reason I do not understand). After installing cyrus-sasl, the whole problem vanishes, and flash starts to work properly in all browsers (tried Chromium and Firefox in Slax). It's really strange since ldd won't show libsasl2.so as a dependency of the libflashplayer.so at all...

I'm going to email upstream (to Patrick, Slackware's author) to let him know he is missing libsasl2.so.* in aaa_elflibs. If there is a package aaa_elflibs, then it should absolutely have libsasl2 included.

User comments