i'm having a new problem here with loading dll's. i didn't have any problem loading dll's with ".so", ".dll" extensions. now i'm having some issue with dll's with ".a" extension. its a static library. below is my code
Security_dll = ctypes.cdll.LoadLibrary("./staticlibraryname.a")
btw, my os env is a linux open suse. the exact error message i get when i try to do this is :
File "module3.py", line 3, in <module>
Security_dll = ctypes.cdll.LoadLibrary("./libSecurityProductionStaticlib.a")
File "/usr/lib64/python2.7/ctypes/__init__.py", line 440, in LoadLibrary
return self._dlltype(name)
File "/usr/lib64/python2.7/ctypes/__init__.py", line 362, in __init__
self._handle = _dlopen(self._name, mode)
OSError: ./libSecurityProductionStaticlib.a: invalid ELF header