From e10258a4c4568000234409afbede55651ade1b7c Mon Sep 17 00:00:00 2001 From: Kartik Singh Date: Tue, 3 Dec 2024 19:03:57 -0800 Subject: [PATCH] Try removing CDLL mode --- src/python-bindings.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python-bindings.lisp b/src/python-bindings.lisp index 56f54c32..c111112c 100644 --- a/src/python-bindings.lisp +++ b/src/python-bindings.lisp @@ -50,7 +50,7 @@ (format stream "except TypeError as e:~%") (format stream " raise Exception('Unable to locate ~a') from e~%~%" name))) - (format stream "~a_dll = CDLL(str(libpath), mode=RTLD_GLOBAL)~%~%" name) + (format stream "~a_dll = CDLL(str(libpath))~%~%" name) (unless omit-init-call (format stream "~a.init(str(libpath.parent / '~a.core').encode('utf-8'))~%~%" name name))))