Skip to content

Unable to load libgettextlib.dll from MSYS2 MINGW64 #319

@ibnu-ja

Description

@ibnu-ja
Caused by: org.javagi.interop.InteropException: Could not load library libgettextlib.dll
	at org.javagi.interop.LibLoad.loadLibrary(LibLoad.java:156)
	at org.javagi.interop.Interop.loadLibrary(Interop.java:90)
	at org.javagi.util.Intl.<clinit>(Intl.java:79)
	... 1 more

case WINDOWS -> Interop.loadLibrary("libgettextlib.dll");

looks like it's hardcoded. My actual dll name is:

$ which libgettextlib-0-26.dll
/mingw64/bin/libgettextlib-0-26.dll

Since I build from source, I can modify it to load my version. I could help if you have specific direction on how to load the library (like what you did with linux's tryLoadLibraryVersions()).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions