GSLL fails to load on osx with homebrew-installed GSL. Could someone install this patch? Thanks.
--- a/gsll-20140211-git/init/init.lisp 2014-04-28 11:48:43.000000000 +0800 +++ b/gsll-20140211-git/init/init.lisp 2014-04-28 12:15:59.000000000 +0800 @@ -63,7 +63,11 @@ (read-line s))) #+unix (defun gsl-config-pathname (pn) - (merge-pathnames pn (pathname (format nil "~a/" (gsl-config "--prefix")))))) + (flet ((libpath () + (let ((s (gsl-config "--libs-without-cblas"))) + ;; example output: -L/usr/local/Cellar/gsl/1.16/lib -lgsl + (pathname (format nil "~a/" (subseq s 2 (- (length s) 6))))))) + (merge-pathnames pn (libpath)))))
(cffi:define-foreign-library libgslcblas (:darwin #+ccl #.(ccl:native-translated-namestring
Diff finished. Mon Apr 28 12:17:35 2014