Subject: Darwin shared object problem in "xchat-python" package
To: None <>
From: Matthias Scheler <>
List: tech-pkg
Date: 08/16/2006 22:20:50

I'm trying to figure out why the "xchat-python" package doesn't work
under Mac OS X (Darwin). When "xchat" comes up it prints this
error message:

AutoLoad failed for: /usr/pkg/lib/xchat/plugins/
 dlopen(/usr/pkg/lib/xchat/plugins/, 10): Symbol not found: _xchat_find_context
   Referenced from: /usr/pkg/lib/xchat/plugins/
   Expected in: flat namespace

The symbol "_xchat_find_context" is defined in the "xchat" binary but
it is not found when the plugin is loaded. The code loading the
plugin looks like this:

	handle = dlopen (filename, RTLD_GLOBAL | RTLD_NOW);

Does anybody have an idea what goes wrong here?

	Kind regards

Matthias Scheler