Closed meawplex-plus closed 1 year ago
I’ve had the same issue regularly pop up on MacOS, in both X86_64 and AArch64. Managed to fix it with various attempts which I can’t remember what are. Only a few days ago, I downloaded a git repository for testing some stuff, but got this error, and decided to delay looking into it, to another day.
I believe last time, all that was required, was to delete the cached folders, which I think are under var/folders
.
@meawplex-plus Hey, looks like you're using a 32-bit JVM, but LWJGL requires a 64-bit JVM on macOS. 32-bit is only supported on Windows/x86 and Linux/arm32.
@Spasi I'm actually using the Zulu 64-bit Arm64 JDK for macOS, but it's being picked up as 32-bit. I've historically used this same JDK on my Mac.
@ws909 Where under /var/folders
? I don't know what directory...
@meawplex-plus
It's a root directory. Macintosh HD/var/folders/z1/<>/T/lwjgl_<username>/
.
Press Shift
+ Cmd
+ .
in Finder to show hidden directories.
This is merely a comment on something potentially, but unlikely, useful, so don't expect to get any wiser.
@ws909 Dang. I don't have a z1
folder under /var/folders
.
@meawplex-plus Then maybe it's somewhere inside the other folders under /var/folders
, or Mojang decided to configure LWJGL into putting it somewhere else.
Hey @meawplex-plus,
Looks like this is a known issue, see https://github.com/MultiMC/Launcher/issues/4986.
If possible, please run the application with -Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.util.DebugLoader=true
(both are required for DebugLoader
to work) and post the new output here to verify that the shared library loader is working as expected.
Version
3.3.1
Platform
macOS arm64
JDK
Zulu OpenJDK 19.0.1
Module
LWJGL core (natives)
Bug description
Was trying to launch Minecraft when LWJGL raised an error of
Failed to load a library.
. Looked down the crash log and found that the root issue was ajava.lang.UnsatisfiedLinkError
while java/LWJGL attempted to locate theliblwjgl.dylib
.Any ideas?
(The Java is 64-bit, but hasn't been signed as such. You'll notice the)
Stacktrace or crash log output