need help porting ctypes to Linux

Mike Rovner mike at bindkey.com
Tue Nov 19 15:39:13 EST 2002


> 4.  When I have undefined symbols in my shared extension module, I get
> an 'ImportError: /.../_ctypes.so: undefined symbol: blabla' when the
> module is loaded. Is this normal? Why doesn't the linker complain?

That is perfectly normal because you use 'shared extension module' which is
an analog of DLL in Windows world.
So only when you try to load it, loader tries to resolve all undefined
symbols.

Mike








More information about the Python-list mailing list