Hello, May be I misunderstand your problem, but is it not possible do link it as follow? import ctypes libgaak = ctypes.CDLL("/home/me/otherLibs/libgaak.so.6") Kind regards. Sam