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

no helib.dylib generated after build on macos, i tried to use jna to load helib in java just said cannot find helib #513

Open
loonpapa opened this issue Dec 3, 2024 · 0 comments

Comments

@loonpapa
Copy link

loonpapa commented Dec 3, 2024

Hi guys,
i am a new at helib, but i want to call helib in java using jna ,but when i give the path to jna, got the error message like:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library '/usr/local/helib_pack/lib/libhelib.a':
dlopen(/usr/local/helib_pack/lib/libhelib.a, 0x0009): tried: '/usr/local/helib_pack/lib/libhelib.a' (not a mach-o file)

i pretty sure i was build success at my macos monterey, and i could see helib directory at /usr/local/helib_pack directory:

(base) 192:lib $ ls
libgmp.10.dylib libgmp.dylib libgmp.la libhelib.a libntl.44.dylib libntl.dylib pkgconfig
(base) 192:lib $ pwd
/usr/local/helib_pack/lib

how can i build the libheilb.o or libhelib.dylib file??

thanks a lot.

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

1 participant