More on 64-bit installation

David Eliezer d_eliezer at yahoo.com
Tue Mar 7 17:11:57 CET 2006


Hi all,
     Thanks for your help on the previous questions.  I went ahead and installed, but the libgmpxx.la seems
 not to have been installed.  Even though make reports
 
 ar cq .libs/libgmpxx.a  dummy.o cxx/isfuns.o cxx/ismpf.o cxx/ismpq.o cxx/ismpz.o cxx/osdoprnti.o cxx/osfuns.o cxx/osmpf.o cxx/osmpq.o cxx/osmpz.o
 ranlib .libs/libgmpxx.a
 creating libgmpxx.la
 (cd .libs && rm -f libgmpxx.la && ln -s ../libgmpxx.la libgmpxx.la)
 make[2]: Leaving directory `/home/deliezer/finance/mathlib/gmp/gmp-4.1.4'
 make[1]: Leaving directory `/home/deliezer/finance/mathlib/gmp/gmp-4.1.4'
 
 make install gives me
 
 /usr/bin/ld: cannot find -lgmp
 collect2: ld returned 1 exit status
 libtool: install: error: relink `libgmpxx.la' with the above command before installing it
 
 and 
 
 ----------------------------------------------------------------------
  /bin/sh ./libtool --mode=install /usr/bin/install -c  libgmpxx.la /usr/local/lib/libgmpxx.la
 libtool: install: warning: relinking `libgmpxx.la'
 cd /home/deliezer/finance/mathlib/gmp/gmp-4.1.4; /bin/sh ./libtool --mode=relink g++ -g -O2 -fomit-frame-pointer -mtune=k8 -march=k8 -o libgmpxx.la -rpath /usr/local/lib -version-info 3:5:0 dummy.lo cxx/isfuns.lo cxx/ismpf.lo cxx/ismpq.lo cxx/ismpz.lo cxx/osdoprnti.lo cxx/osfuns.lo cxx/osmpf.lo cxx/osmpq.lo cxx/osmpz.lo libgmp.la
 mv: cannot stat `libgmpxx.so.3.0.5': No such file or directory
 libtool: install: error: relink `libgmpxx.la' with the above command before installing it
 PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
 
 and make check gives me
 
 /bin/sh ../libtool --mode=link gcc  -g -O2 -fomit-frame-pointer -mtune=k8 -march=k8   -o t-bswap  t-bswap.o libtests.la ../libgmp.la 
 libtool: link: cannot find the library `/home/eliezer/finance/mathlib/gmp/gmp-4.1.4/libgmp.la'
 make[3]: *** [t-bswap] Error 1
 make[3]: Leaving directory `/home/deliezer/finance/mathlib/gmp/gmp-4.1.4/tests'
 make[2]: *** [check-am] Error 2
 make[2]: Leaving directory `/home/deliezer/finance/mathlib/gmp/gmp-4.1.4/tests'
 make[1]: *** [check-recursive] Error 1
 make[1]: Leaving directory `/home/deliezer/finance/mathlib/gmp/gmp-4.1.4/tests'
 make: *** [check-recursive] Error 1
 
 Does anybody have any idea why I need to relink libgmpxx.la, and why it doesn't do anything when
 I do?  (I assume it wants me to make install twice, is that right?)
 
 Thanks in advance for any advice.
 
 Dave




More information about the gmp-discuss mailing list