[Ecls-list] is there --with-libffi-prefix ?
Oliver Kullmann
O.Kullmann at swansea.ac.uk
Wed Feb 9 22:36:00 UTC 2011
Doing so I get the error:
if [ -f CROSS-COMPILER ]; then \
./CROSS-COMPILER compile; \
else \
ECLDIR=`pwd`/ ./ecl_min compile; \
fi
./ecl_min: error while loading shared libraries: libffi.so.4: cannot open shared object file: No such file or directory
The libffi-built created libffi.so.5 --- why does it want an earlier version (there is no libffi-version
otherwise on that machine)?
Oliver
On Wed, Feb 09, 2011 at 09:16:42PM +0100, Juan Jose Garcia-Ripoll wrote:
> On Wed, Feb 9, 2011 at 8:39 PM, Oliver Kullmann <O.Kullmann at swansea.ac.uk>wrote:
>
> > I need to install Ecl with a locally installed libffi: With gmp
> > this works via --with-gmp-prefix, however such a build-option seems
> > not to exist for libffi? How then can we use a local libffi?
> >
>
> --with-gmp-prefix is just a convenience, but the canonical way to add C/C++
> libraries is via autoconf's variables
>
> CPPFLAGS=-I/path/to/location/of/headers
> LDFLAGS=-L/path/to/location/of/libraries
>
> you can use them as arguments to "configure". Note however that if the path
> of GMP and of libffi is the same, as with usual *nix installations, then
> --with-gmp-prefix=... will suffice
>
> Juanjo
>
> --
> 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