[Ecls-list] Ecl-build can't find existing gmp-lib ?

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sat May 22 19:27:14 UTC 2010


On Sat, May 22, 2010 at 9:17 PM, Oliver Kullmann
<O.Kullmann at swansea.ac.uk>wrote:

>
> /home/kullmann/OKplatform/ExternalSources/Installations/Gcc/4.1.2/bin/gcc
> -Wl,-rpath=/home/kullmann/OKplatform/ExternalSources/Installations/Ecl/10.4.1/lib
> -L/home/kullmann/OKplatform/ExternalSources/Installations/Gmp/4.1.2/5.0.1/lib
> -o ecl_min cinit.o c/all_symbols.o -L./ libeclmin.a -leclgc  -lgmp -ldl  -lm
> ;\


It seems that we are doing our job and LDFLAGS gets used, so there is no
fundamental problem with ECL's configuration process.

The only thing I can think of is that maybe 'rpath' should appear at some
other place: instead of right after "gcc" maybe before the -L or -l options.
Otherwise I am just without any clue.

I can only ask you to do combinations of this command by yourself until you
find one that makes it work in your system and report it back.

If you find no solution then there are two options:

* Forget "-rpath" and instead use statically linked libraries, libgmp.a,
added to the value of LIBS
* Export
LD_LIBRARY_PATH=/path/to/your/library:/path/to/where/libecl/will/reside

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://tream.dreamhosters.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100522/02a3eeb8/attachment.html>


More information about the ecl-devel mailing list