Skip to content

Conversation

@msgilligan
Copy link
Member

@msgilligan msgilligan commented Oct 1, 2025

This works on macOS if gradle jlink is followed by:

cp /nix/store/<hash>-secp256k1-0.6.0/lib/libsecp256k1.* secp-examples-java/build/image/lib/

So either the library copy needs to be added to the build or the native code needs to be bundled in the module/jar -- I need to research this a little further.

@msgilligan msgilligan marked this pull request as draft October 1, 2025 16:43
@msgilligan msgilligan force-pushed the msgilligan/example-jlink branch from 6626675 to 4d71f4b Compare October 3, 2025 15:38
@msgilligan msgilligan force-pushed the msgilligan/example-jlink branch from 4d71f4b to 10de259 Compare October 18, 2025 17:15
This works on macOS if `gradle jlink` is followed by:

cp /nix/store/<hash>-secp256k1-0.6.0/lib/libsecp256k1.* \
   secp-examples-java/build/image/lib/
@msgilligan msgilligan force-pushed the msgilligan/example-jlink branch from 10de259 to 338a3cd Compare October 31, 2025 12:53
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

Successfully merging this pull request may close these issues.

2 participants