Skip to content

static native image with musl Failed to load native library #1092

@mio-19

Description

@mio-19

I built a static native image with musl. I got following errors on runtime

Oct 13, 2024 9:51:54 PM org.jline.nativ.JLineNativeLoader log
WARNING: Failed to load native library:jlinenative-3.27.0-91a6c796ed1e1ed5-libjlinenative.so. osinfo: Linux/x86_64 (caused by: java.lang.UnsatisfiedLinkError: Can't load library: /tmp/jlinenative-3.27.0-91a6c796ed1e1ed5-libjlinenative.so, enable debug logging for stacktrace)
Failed to load native library:jansi-2.4.1-eafa4c479bafba9a-libjansi.so. osinfo: Linux/x86_64
java.lang.UnsatisfiedLinkError: Can't load library: /tmp/jansi-2.4.1-eafa4c479bafba9a-libjansi.so

Similar issue: #905

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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