ctypes list library

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sat Jun 27 00:56:11 EDT 2009

En Thu, 25 Jun 2009 06:15:57 -0300, luca72 <lucaberto at libero.it> escribió:

> Hello but find_library find only the lib. but if i need to load from a
> list of lib how i have to do.
> My proble is that i have 5 lib (a,b,c,d,e), if i load the a i get lib
> b not found, if for first i load the b and than the a i get the same
> error how i have to proceed.

Try adding the parameter mode=ctypes.RTLD_GLOBAL when loading the library.

Gabriel Genellina

More information about the Python-list mailing list