I have been trying for almost a day to compile the sipa library here:
https://github.com/bitcoin/secp256k1 to no avail. There are some instructions in the bitcoinj client that says:
<p>To build secp256k1 for use with bitcoinj, run `./configure` and `make libjavasecp256k1.so` then copy libjavasecp256k1.so to your system library path or point the JVM to the folder containing it with -Djava.library.path </p>
However there doesn't seem to be a make target for that anymore with the master release on github. I compiled it anyway, and it creates a static library. Is there a way to turn that into a shared object library for a java application?
As a last resort I tried to compile an older version and even managed to create the file libjavasecp256k1.so, but any attempts to load it let to UnsatisfiedLinkErrors that said: unresolved symbol: __gmpn_sub_n or others. It seems like there are missing references to the gmp library.
This is really not my forte so I would appreciate any advice on how to get this working.