dlopen and template instantiation

Stefan Seefeld seefeld@sympatico.ca
Tue Jul 15 17:37:00 GMT 2003


H. J. Lu wrote:

> It may be a glibc issue. See
> 
> http://sources.redhat.com/ml/libc-alpha/2002-05/msg00197.html
> http://sources.redhat.com/ml/libc-alpha/2002-05/msg00214.html

ah, these messages reminded me that python's default dlopen flag
is RTLD_LOCAL. Calling

sys.setdlopenflags(dl.RTLD_NOW | dl.RTLD_GLOBAL)

before importing my modules solved my problem.

Thanks !
		Stefan




More information about the Gcc mailing list