Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnsatisfiedLinkError #95

Open
nilskp opened this issue Nov 1, 2024 · 3 comments
Open

UnsatisfiedLinkError #95

nilskp opened this issue Nov 1, 2024 · 3 comments

Comments

@nilskp
Copy link

nilskp commented Nov 1, 2024

Trying to run this code, from the example:

Secp256k1 secp = Secp256k1.get();

On graalvm-jdk-22.0.1+8.1 with secp256k1-foreign:0.0.1 and secp256k1-api:0.0.1 in the classpath.

Getting:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no secp256k1 in java.library.path

What am I missing?

@msgilligan
Copy link
Member

Sorry, just now seeing this. You need to have the secp256k1 native library in your java.library.path (which is where native libraries are searched for) I think this is covered in the README. I should be releasing 0.0.2 soon, so try again when that is released.

@nilskp
Copy link
Author

nilskp commented Nov 14, 2024

Ok, and where do I find that?

@msgilligan
Copy link
Member

Ok, and where do I find that?

The README explains how to install it with Nix. But you can also find the source here: https://github.com/bitcoin-core/secp256k1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants