[cl-plus-ssl-devel] Fix build on OpenBSD
Timo Myyrä
timo.myyra at iki.fi
Sun Sep 30 16:00:31 UTC 2012
Hi,
OpenBSD needs to load libcrypto before loading libssl.
Here's a patch for this. Also bumped the library versions to match
what OpenBSD uses.
--- /home/zmyrgel/quicklisp/dists/quicklisp/software/cl+ssl-20120703-git/reload.lisp
Wed Sep 19 19:17:03 2012
+++ reload.lisp Sat Sep 29 15:18:26 2012
@@ -17,10 +17,17 @@
(in-package :cl+ssl)
+;; OpenBSD needs to load libcrypto before libssl
+#+openbsd
+(progn
+ (cffi:define-foreign-library libcrypto
+ (:openbsd "libcrypto.so.20.1"))
+ (cffi:use-foreign-library libcrypto))
+
(cffi:define-foreign-library libssl
(:windows "libssl32.dll")
(:darwin "libssl.dylib")
- (:openbsd (:or "libssl3.so" "libssl.so.16.0" "libssl.so.15.1"))
+ (:openbsd (:or "libssl.so.18.0" "libssl.so.17.1" "libssl.so.16.0))
(:solaris (:or "/lib/64/libssl.so"
"libssl.so.0.9.8" "libssl.so" "libssl.so.4"))
(:unix (:or "libssl.so.1.0.0" "libssl.so.0.9.8" "libssl.so" "libssl.so.4"))
More information about the cl-plus-ssl-devel
mailing list