[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ld.so and programs linking against glib1 AND glib2



I have two more xfce4 plugins that are both xmms related.

They link to glib1 as xmms needs it, and glib2 as xfce4-panel needs it.

This seems to confuse ld.so:

** Message: xfce4-panel: module mixer successfully loaded
xfce4-panel:/usr/local/lib/libglib.so.1.2: /usr/local/lib/libglib-2.0.so.0.11 : WARNING: symbol(g_thread_functions_for_glib_use) size mismatch, relink your program
xfce4-panel:/usr/local/lib/libgdk.so.1.2: /usr/local/lib/libglib-2.0.so.0.11 : WARNING: symbol(g_thread_functions_for_glib_use) size mismatch, relink your program
xfce4-panel:/usr/local/lib/libgtk.so.1.2: /usr/local/lib/libglib-2.0.so.0.11 : WARNING: symbol(g_thread_functions_for_glib_use) size mismatch, relink your program
** Message: xfce4-panel: module xmms_plugin successfully loaded

The plugins do work, but launching say, xterm, will return the following
error:

Could not run command: xfterm4: Failed to read from child pipe
(Resource temporarily unavailable)

Yet, an xterm pops up just fine.

I don't see how to link these plugins in such a way that ld.so will find
the symbol it needs in the correct library.  Perhaps ld.so could be
modified to keep searching if there is a size mismatch, and then return
an error if the symbol is not found in another library?

Attached are the aforementioned ports.  They need Makefile.inc from
x11/xfce4/plugins to build.

Any help would be greatly appreciated.  As far as I know, these are the
only two xfce4-related programs in existence that are not in-tree.  It
would be nice to have a full port.

xfce4-xmms-controller-plugin-port.tar.gz

xfce4-xmms-plugin-port.tar.gz