Skip to content

UnsatisfiedLinkError when shell is set to Arabic language #1860

Open
@A248

Description

@A248

I came back to an old project, and I started getting UnsatisfiedLinkError when starting docker containers. Docker-maven-plugin couldn't load the FFI layer, and it looked like Arabic numbers were being used to locate the FFI file.

Error Report

Full error report: https://pastebin.com/WFDLcnWt . See this excerpt:

Tried [jni/x86_64-Linux/libjffi-١.٢.so, /jni/x86_64-Linux/libjffi-١.٢.so]

Those are Arabic numbers. You can reproduce it yourself by changing your shell to Arabic:

export LANG=ar_JO.UTF-8

Solution

Of course as a temporary solution, I can switch my terminal to English locale. But this is annoying, and docker-maven-plugin should be locale-proof. Would you mind solving this little bug?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions