Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove path from library file definition #1

Closed
liamh opened this issue Nov 24, 2011 · 0 comments
Closed

Remove path from library file definition #1

liamh opened this issue Nov 24, 2011 · 0 comments
Assignees

Comments

@liamh
Copy link

liamh commented Nov 24, 2011

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

@ghost ghost assigned blindglobe Nov 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants