Skip to content

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

Description

@loonpapa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions