diff --git a/python/cppyy_backend/loader.py b/python/cppyy_backend/loader.py index 702df419..eaef7290 100644 --- a/python/cppyy_backend/loader.py +++ b/python/cppyy_backend/loader.py @@ -44,7 +44,7 @@ def _load_helper(bkname): # normal load, allowing for user overrides of LD_LIBRARY_PATH try: - return ctypes.CDLL(bkname, ctypes.RTLD_GLOBAL) + return ctypes.CDLL(bkname, ctypes.RTLD_GLOBAL), errors except OSError as e: errors.add(str(e))