Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fabric-loader-junit: Loading liblwjgl.so fails for Minecraft 1.18.2 #977

Open
bluebear94 opened this issue Sep 17, 2024 · 0 comments
Open

Comments

@bluebear94
Copy link

To reproduce:

  1. Download the minimal working example
  2. Run ./gradlew test

Expected: The test JlltTest.testJeMalloc passes.

Actual: That test fails with the following stack trace:

java.lang.UnsatisfiedLinkError: Failed to locate library: liblwjgl.so
	at org.lwjgl.system.Library.loadSystem(Library.java:174)
	at org.lwjgl.system.Library.loadSystem(Library.java:64)
	at org.lwjgl.system.Library.<clinit>(Library.java:52)
	at org.lwjgl.system.jemalloc.JEmalloc.<clinit>(JEmalloc.java:34)
	at xyz.flirora.jllt.JlltTest.testJeMalloc(JlltTest.java:8)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

For comparison, the 1.19.2 branch of the same repository behaves as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant