[Ecls-list] is there --with-libffi-prefix ?

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Wed Feb 9 23:14:54 UTC 2011


On Wed, Feb 9, 2011 at 11:36 PM, Oliver Kullmann
<O.Kullmann at swansea.ac.uk>wrote:

> ./ecl_min: error while loading shared libraries: libffi.so.4: cannot open
> shared object file: No such file or directory
>

The library is not in a standard location and it is shared, not static,
which means that the OS has to find it. Do one of the following

1) Export LD_LIBRARY_PATH=location-to-the-library before building
2) Add some --rpath flags to LDFLAGS.

1) is just a temporary hack. 2) will hardcode the location of the library.


> The libffi-built created libffi.so.5 --- why does it want an earlier
> version (there is no libffi-version
> otherwise on that machine)?
>

I do not know. It seems like either a problem with your linker or that there
is indeed another copy with that version installed.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110210/12ddc237/attachment.html>


More information about the ecl-devel mailing list