LispWorks on OS X cannot find libs in standard paths
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CFFI |
Fix Released
|
Medium
|
Luís Oliveira |
Bug Description
During the development of CL-CHARMS (https:/
(cffi:
(:darwin (:or "libcurses.dylib" "libncurses.
(:unix (:or "libncurses.so.5" "libcurses"))
(t (:default "libcurses")))
(cffi:
SBCL loads this just fine without having to modify any paths or variables.
In an effort to workaround, I tried
(push "/usr/lib" cffi:*foreign-
This also didn't work.
The workaround I found to work currently is to specify the full path in the DEFINE-
This is for CFFI 0.14.0, provided by Quicklisp.
tags: | added: lispworks |
Changed in cffi: | |
status: | Fix Committed → Fix Released |
Signed binaries on OS X have that effect on dlopen(). Try pushing /usr/lib/
with a trailing slash. That should work. Maybe CFFI should provide this
workaround out of the box?
On Sat, Jan 24, 2015, 10:05 Robert Smith <email address hidden> wrote:
> Public bug reported: /github. com/HiTECNOLOGY s/cl- ncurses. dylib. The code before was: foreign- library libcurses dylib") ) foreign- library libcurses) library- directories* ) FOREIGN- LIBRARY macro. /bugs.launchpad .net/bugs/ 1414277 /bugs.launchpad .net/cffi/ +bug/1414277/ +subscriptions
>
> During the development of CL-CHARMS (https:/
> charms), I was unable to get LispWorks 6.1.1 on OS X 10.10 to find the
> OS-provided library /usr/lib/
>
> (cffi:define-
> (:darwin (:or "libcurses.dylib" "libncurses.
> (:unix (:or "libncurses.so.5" "libcurses"))
> (t (:default "libcurses")))
>
> (cffi:use-
>
> SBCL loads this just fine without having to modify any paths or
> variables.
>
> In an effort to workaround, I tried
>
> (push "/usr/lib" cffi:*foreign-
>
> This also didn't work.
>
> The workaround I found to work currently is to specify the full path in
> the DEFINE-
>
> This is for CFFI 0.14.0, provided by Quicklisp.
>
> ** Affects: cffi
> Importance: Undecided
> Status: New
>
>
> ** Tags: lispworks
>
> ** Tags added: lispworks
>
> --
> You received this bug notification because you are subscribed to CFFI.
> https:/
>
> Title:
> LispWorks on OS X cannot find libs in standard paths
>
> To manage notifications about this bug go to:
> https:/
>