[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ld.so and programs linking against glib1 AND glib2
sysutils/gkrellm/plugins/mms also links against glib2 and xmms. At a quick
glance, it doesn't do any special magic.
On Mon, 2 Feb 2004 21:20:15 -0600
Jolan Luff <jolan@protection.cx> wrote:
: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.
:
--
Yesterday upon the stair
I met a man who wasn't there.
He wasn't there again today --
I think he's from the CIA.