Current-Users archive

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

Re: dlopen () question



On Tue, Apr 08, 2008 at 05:57:24PM +0100, David Laight wrote:
> However it isn't a good idea to rely on symbols being resolved in
> that way.  Consider, for example, what happens if your 'main program'
> code is moved into a shared library, and then that library is opened
> with dlopen() - it is then almost impossible to get the plugin to
> reference a symbol in the library.

Shared libraries always export symbols, so this is far less a problem.

Joerg


Home | Main Index | Thread Index | Old Index