15 """@private: resolve the compiled DLL"""
16 cwd = os.path.dirname(__file__)
19 resolution_attempts = (
21 glob.glob(os.path.join(cwd,
"libSQLamarr.*.so")) +
24 os.path.join(cwd,
"libSQLamarr.so"),
33 for resolution_attempt
in resolution_attempts:
35 clib = ctypes.CDLL(resolution_attempt)
43 raise OSError(
"Failed loading libSQLamarr.so")