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

Oliver Kullmann O.Kullmann at swansea.ac.uk
Sat May 22 19:17:25 UTC 2010


ecl-10.4.1/build> rm ecl_min
ecl-10.4.1/build> make ecl_min
if (echo c gc | grep gmp); then \
          cd gmp && make install && \
          cd .. && mv include/gmp.h ecl/ && rmdir include &&  \
          mv ./libgmp.a ./libeclgmp.a; \
        fi
cd c; make
make[1]: Entering directory `/home/kullmann/OKplatform/ExternalSources/builds/Ecl/ecl-10.4.1/build/c'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/kullmann/OKplatform/ExternalSources/builds/Ecl/ecl-10.4.1/build/c'
if [ -f CROSS-COMPILER ]; then \
                touch ecl_min; \
        else \
                /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 ;\
        fi


On Sat, May 22, 2010 at 09:09:30PM +0200, Juan Jose Garcia-Ripoll wrote:
> This is not ECL, this is a library (the garbage collector). At some point
> there should be a single command that creates the executable "ecl_min". Just
> delete it (only "ecl_min") and run "make ecl_min" and send back the few last
> lines of the shell
> 
> On Sat, May 22, 2010 at 8:35 PM, Oliver Kullmann
> <O.Kullmann at swansea.ac.uk>wrote:
> 
> > At least the value is mentioned several times, e.g.
> >
> > /bin/sh ./libtool --tag=CC --mode=link
> > /home/kullmann/OKplatform/ExternalSources/Installations/Gcc/4.1.2/bin/gcc
> > -fPIC -fexceptions -I libatomic_ops/src -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> > -g -O2 -fPIC
> > -I/home/kullmann/OKplatform/ExternalSources/Installations/Gmp/4.1.2/5.0.1/include
> >  -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 libgc.la -rpath
> > /home/kullmann/OKplatform/ExternalSources/builds/Ecl/ecl-10.4.1/build
> >  -version-info 1:3:0 -no-undefined allchblk.lo alloc.lo blacklst.lo
> > checksums.lo dbg_mlc.lo dyn_load.lo finalize.lo gc_dlopen.lo gcj_mlc.lo
> > headers.lo malloc.lo mallocx.lo mark.lo mark_rts.lo misc.lo new_hblk.lo
> > obj_map.lo os_dep.lo pcr_interface.lo ptr_chck.lo real_malloc.lo reclaim.lo
> > specific.lo stubborn.lo typd_mlc.lo backgraph.lo thread_local_alloc.lo
> > mach_dep.lo -ldl
> > mkdir .libs
> >
> > But there are two rpath-occurrences in here??
> >
> > Oliver
> >
> >
> > On Sat, May 22, 2010 at 08:11:25PM +0200, Juan Jose Garcia-Ripoll wrote:
> > > On Sat, May 22, 2010 at 7:50 PM, Oliver Kullmann
> > > <O.Kullmann at swansea.ac.uk>wrote:
> > >
> > > > Hello,
> > > >
> > > > building version 10.4.1 on a 64-bit-Xeon machine
> > > > I get the error
> > > >
> > > > cp
> > > >
> > /home/kullmann/OKplatform/ExternalSources/builds/Ecl/ecl-10.4.1/src/../contrib/unicode/ucd.dat
> > > > .
> > > > if [ -f CROSS-COMPILER ]; then \
> > > >                ./CROSS-COMPILER compile; \
> > > >        else \
> > > >                ECLDIR=`pwd`/ ./ecl_min compile; \
> > > >        fi
> > > > ./ecl_min: error while loading shared libraries: libgmp.so.10: cannot
> > open
> > > > shared object file: No such file or
> > >
> > >
> > > Can you look at the logs and see whether your value of -rpath was
> > actually
> > > used when building the executable "ecl_min" ?
> > >
> >
> >
> >
> >
> > > Juanjo
> > >
> > > --
> > > Instituto de Física Fundamental, CSIC
> > > c/ Serrano, 113b, Madrid 28006 (Spain)
> > > http://tream.dreamhosters.com
> >
> > --
> > Dr. Oliver Kullmann
> > Computer Science Department
> > Swansea University
> > Faraday Building, Singleton Park
> > Swansea SA2 8PP, UK
> > http://cs.swan.ac.uk/~csoliver/
> >
> 
> 
> 
> -- 
> Instituto de Física Fundamental, CSIC
> c/ Serrano, 113b, Madrid 28006 (Spain)
> http://tream.dreamhosters.com

-- 
Dr. Oliver Kullmann
Computer Science Department
Swansea University
Faraday Building, Singleton Park
Swansea SA2 8PP, UK
http://cs.swan.ac.uk/~csoliver/




More information about the ecl-devel mailing list