You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In load-blapack-libs.lisp, the definitions of the libraries should not have paths: (defparameter *gfortran-lib* "libgfortran.so.3") (defparameter *blas-lib* "libblas.so") (defparameter *lapack-lib* "liblapack.so")
This way, CFFI will use the default system path, so for Debian and Ubuntu, where /usr/lib/x86_64-linux-gnu/libgfortran.so.3 is the path and not /usr/lib/libgfortran.so.3. Also according to akovalenko on #quicklisp, all libraries should have version numbers, otherwise it is necessary to load the -dev packages.
In load-blapack-libs.lisp, the definitions of the libraries should not have paths:
(defparameter *gfortran-lib* "libgfortran.so.3") (defparameter *blas-lib* "libblas.so") (defparameter *lapack-lib* "liblapack.so")
This way, CFFI will use the default system path, so for Debian and Ubuntu, where /usr/lib/x86_64-linux-gnu/libgfortran.so.3 is the path and not /usr/lib/libgfortran.so.3. Also according to akovalenko on #quicklisp, all libraries should have version numbers, otherwise it is necessary to load the -dev packages.
See http://lispcaveats.tumblr.com/post/13259176455/ffi-linking-against-shared-libraries
The text was updated successfully, but these errors were encountered: