[cffi-devel] trouble loading dll via cff:use-foreign-library
    Mirko Vukovic 
    mirko.vukovic at gmail.com
       
    Mon Feb 18 16:56:07 UTC 2008
    
    
  
On Mon, Feb 18, 2008 at 10:53 AM, Luís Oliveira <luismbo at gmail.com> wrote:
> On 18/02/2008, Mirko Vukovic <mirko.vukovic at gmail.com> wrote:
>
> > >  Also, what version of CFFI are you using?
>  >
>  > 0.9.2
>
>  Can you try the same thing with the latest version from darcs?
>  darcs get --partial http://common-lisp.net/project/cffi/darcs/cffi
>
>  If you don't have darcs, you can get the latest snapshot instead:
>  <http://common-lisp.net/project/cffi/tarballs/cffi-080216.tar.gz>
>
>  --
>
>
> Luís Oliveira
>  http://student.dei.uc.pt/~lmoliv/
>
Here is the transcript with the latest cffi:
CFFI-USER> (setf *target* #p"/bin/cyggsl-0.dll")
#P"/bin/cyggsl-0.dll"
CFFI-USER> (probe-file *target*)
#P"/bin/cyggsl-0.dll"
CFFI-USER> (cffi:load-foreign-library *target*)
and the error message:
Unable to load foreign library (NIL).
  FFI::FOREIGN-LIBRARY: Cannot open library "/bin/cyggsl-0.dll": "No
such file or directory"
   [Condition of type LOAD-FOREIGN-LIBRARY-ERROR]
Mirko
    
    
More information about the cffi-devel
mailing list