From 78cffb2b919e10a675bec6bfebf94a84f58aad0a Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 25 Aug 2022 21:16:04 +0200 Subject: extreload.asd: Turn off SSL in `websocket-driver-client` SSL is unnecessary for our purposes, and including it causes a runtime error when the path to `libcrypto.dylib` is different on the executing machine than it is on the build machine. This is the error I got when running `extreload` on an Apple Silicon machine with Homebrew, using a package bundled by an x86 machine with Homebrew: $ extreload debugger invoked on a SIMPLE-ERROR in thread #: Error opening shared object "/usr/local/opt/openssl/lib/libcrypto.dylib": dlopen(/usr/local/opt/openssl/lib/libcrypto.dylib, 0x000A): tried: '/usr/local/opt/openssl/lib/libcrypto.dylib' (no such file). Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [CONTINUE ] Skip this shared object and continue. 1: [RETRY ] Retry loading this shared object. 2: [CHANGE-PATHNAME] Specify a different pathname to load the shared object from. 3: [ABORT ] Exit from the current thread. (SB-SYS:DLOPEN-OR-LOSE #S(SB-ALIEN::SHARED-OBJECT :PATHNAME #P"/usr/local/opt/openssl/lib/libcrypto.dylib" :NAMESTRING "/usr/local/opt/openssl/lib/libcrypto.dylib" :HANDLE NIL :DONT-SAVE NIL)) 0] --- extreload.asd | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extreload.asd b/extreload.asd index 19e736d..5d1e2cb 100644 --- a/extreload.asd +++ b/extreload.asd @@ -16,6 +16,11 @@ ;;; along with Extreload. If not, see . +;; SSL is not required for Extreload. Including it can cause a dynamic library +;; load path error if the runtime paths are different from those on the build +;; machine. +(push :websocket-driver-no-ssl *features*) + (asdf:defsystem extreload :version "0.0.2" :depends-on (:jsown -- cgit v1.2.3