[Ecls-list] ECL libffi issues

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Tue Aug 4 10:09:45 UTC 2009


On Mon, Aug 3, 2009 at 9:28 PM, David A. Ventimiglia<ventimig at msu.edu> wrote:
> I get the following error:
>
> ;;; Loading
> "/home/dventimi/.local/share/common-lisp/source/fsbv/init.fas"

In the process of better supporting *default-pathname-defaults* we
broke the code that load shared libraries: it was always producing
full pathnames for the libraries,merging them with the value of the
current directory.

I have committed a fix to cvs/git which solves the problem. It will be
part of the next release.

Note, though, that one might still need to specify version numbers if
the generic *.so libraries are not installed. For instance

$ LD_LIBRARY_PATH=$HOME/lib ecl
ECL (Embeddable Common-Lisp) 9.7.1
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level.
> (si::load-foreign-module "libffi.so")

LOAD-FOREIGN-MODULE: Could not load foreign module "libffi.so" (Error:
"libffi.so: cannot open shared object file: No such file or
directory") [...]
>> :q

Top level.
> (si::load-foreign-module "libffi.so.5")

#<codeblock "libffi.so.5">


-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list