aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2022-08-25 21:16:04 +0200
committerTeddy Wing2022-08-25 21:16:04 +0200
commit78cffb2b919e10a675bec6bfebf94a84f58aad0a (patch)
tree47c213ada9607df43da48fe8455a35e7aefd4deb
parente830899cf2268f38ff21038c9c7edfd0b080b385 (diff)
downloadextreload-78cffb2b919e10a675bec6bfebf94a84f58aad0a.tar.bz2
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 #<THREAD "main thread" RUNNING {70024E0003}>: 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]
-rw-r--r--extreload.asd5
1 files changed, 5 insertions, 0 deletions
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 <https://www.gnu.org/licenses/>.
+;; 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