<div class="gmail_quote">On Sat, May 22, 2010 at 9:17 PM, Oliver Kullmann <span dir="ltr"><<a href="mailto:O.Kullmann@swansea.ac.uk">O.Kullmann@swansea.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

               /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 ;\</blockquote>

<div><br></div><div>It seems that we are doing our job and LDFLAGS gets used, so there is no fundamental problem with ECL's configuration process.</div><div><br></div><div>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.</div>

<div><br></div><div>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.</div><div><br></div><div>If you find no solution then there are two options:</div>

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

<div><br></div><div>Juanjo </div></div><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://tream.dreamhosters.com">http://tream.dreamhosters.com</a><br>