[Flac-dev] Re: XMMS Plugin on Mac OS X

Matt Zimmerman mdz at debian.org
Tue Jun 11 10:51:15 PDT 2002


On Tue, Jun 11, 2002 at 10:16:11AM -0700, Josh Coalson wrote:

> Ah, I see.  My first guess at what is happening is that both plugins are
> stomping on each other's global symbols.  Looking at
> flac/src/plugin_xmms/plugin.c, it looks like the only one it could be is
> get_iplugin_info():
> [...]
> I copied the basic plugin design from another plugin (I think it was XMMS'
> WAVE reader).  I'm not familiar enough with XMMS' plugin implementation
> yet but looking at it I don't see how the get_iplugin_info() design can
> work with multiple shared libraries.  I CC'ed the flac-dev list to see if
> anyone knows off the top of their head.

It dlopen()s the shared object and uses dlsym() to find the get_iplugin_info
which is in that particular object, so there should not be a problem with
conflicts.

This could be a problem with whatever xmms build is being used, or (somewhat
less likely) a dynamic linker bug.

-- 
 - mdz




More information about the Flac-dev mailing list