Current-Users archive

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

Re: dlopen () question

On Sun, 06 Apr 2008 20:55:56 +0200
Vincent <> wrote:

> Hello!
> I've been unable to get a reliable info on this: when a main program 
> loads a plugin with dlopen (), and that plugin references a weak symbol 
> inside the main program, is it normal that dlopen () fails and complains 
> about not finding the weak symbol, even with the suitable flags set 
> (RTLD_GLOBAL)? I have that behavior with the svn version of scribus on 
> current.
> Thanks!
> Vincent

I guess you need to link your main executable program with -Wl,-E.
See man ld(1) for further info.


Home | Main Index | Thread Index | Old Index