Closed exarkun closed 7 years ago
Tried to replicate the issue:
$ apt install gcc python-dev libgmp3-dev
$ python --version
--> Python 2.7.12+
$ gcc -v
--> gcc version 6.2.0
$ apt install python-pip
$ pip --version
--> pip 8.1.2
$ pip install fastedcdsa
--> builds with no errorsI'd check to make sure you didn't custom install GMP in some non-standard way. Maybe also try updating GCC, I've seen some issues with specific GCC versions spitting out the bug you have above.
Hmmm, weird. I have libgmp10 and libgmpv4-dev and I can't convince apt to install libgmp3-dev. I suppose that could be the problem but I'm really confused about what's going on and why libgmp3-dev appears to be unavailable.
$ sudo apt-get install libgmp3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libgmp3-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libgmp3-dev' has no installation candidate
So I suppose this is a problem with my Ubuntu install and not a problem with fastecdsa itself.
You might need to $ apt remove libgmpv4-dev
before installing libgmp3-dev
but I was also able to build this package against the libgmpv4-dev
package.
I finally managed to get libgmp3-dev installed and the build succeeded. Thanks.