Error:
[Script verification] INFO org.bitcoin.Secp256k1Context – java.lang.UnsatisfiedLinkError: no secp256k1 in java.library.path
Solution:
When you open the Secp256k1Context class you will see that code:
System.loadLibrary("secp256k1");
This is trying to load a dynamic object library “.so” file in linux. If you don’t compile this file then you will get that error: org.bitcoin.Secp256k1Context – java.lang.UnsatisfiedLinkError: no secp256k1 in java.library.path
You have to compile secp256k1 library from bitcoin core source code.
$ git clone https://github.com/bitcoin-core/secp256k1 $ cd secp256k1 $ ./autogen.sh $ ./configure --enable-jni --enable-module-ecdh --enable-experimental $ make $ sudo make install
Source: https://bitcoin.stackexchange.com/questions/51420/problem-with-full-node
0 yorum