Having trouble building the library...

D Lee dlee94806 at gmail.com
Thu Mar 5 20:41:38 UTC 2020


I'm trying to build v6.2.0, having download the source,  gmp-6.2.0.tar.lz ,
from https://gmplib.org.  Downloaded the documentation, *gmp-man-6.2.0.pdf*,
and am following *Ch 2 Installing GMP*; when I do the *make check*, I get
the following error:

libtool:   error: cannot find the library '../libgmp.la' or unhandled
argument '../libgmp.la'

*These are my steps:*
Downloaded and unpacked.
mkdir gmp-obj *outside* of the source tree.
cd gmp-obj
../gmp-6.2.0/gmp-6.2.0/configure >> configure.log 2>&1 (see attached
configure.log file)
make check >> make-check.log 2>&1 (see attached make-check.log)

These are the versions:

cat /etc/debian_version = 9.12
gcc --version      = gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
bash --version     = GNU bash, version 4.4.12(1)-release
(x86_64-pc-linux-gnu)
make --version     = GNU Make 4.3
libtool --version  = libtool (GNU libtool) 2.4.6
autoconf --version = autoconf (GNU Autoconf) 2.69
automake --version = automake (GNU automake) 1.16.1
binutils           = binutils/oldstable,now 2.28-5 amd64 [installed]
uname -a = Linux v-LD9 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2
(2018-08-13) x86_64 GNU/Linux

My apologies, I'm not familiar with libtool (yet) and thank you for any
help.

Regards,
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logs.zip
Type: application/x-zip-compressed
Size: 43491 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20200305/95458ce4/attachment-0001.bin>


More information about the gmp-bugs mailing list