On Sun, 18 Nov 2001 07:03:06 -0800, Shaun Savage wrote:
> I have written a XPCOM library(zero) that uses an other(first) dynamic 
> library(.so). This(first) loaded dynamic library loads a second dynamic 
> library(.so).
> The second dynamic library uses functions in the first dynamic library. 
> BUT the functions in the first are not found by the second libraries.
> 
> When not using XPCOM the loading of libraries works fine.

But I guess you have to use the RTLD_GLOBAL flag when loading the first
library.

> Why does the second library not have access to the first library functions?

AFAIK, XPCOM only uses "default" flags for loading components (no
RTLD_GLOBAL).


bye, Christof

-- 
http://cmeerw.cjb.net                             JID: [EMAIL PROTECTED]
mailto cmeerw at web.de

...and what have you contributed to the Net?

Reply via email to