mojira.dev
MC-130954

Missing 32-bit lwjgl for lwjgl-3.1.2-natives-linux.jar

My Minecraft won't start up the 1.13-pre1 snapshot. On 32-bit Ubuntu Linux, it cites a missing liblwjgl32.

A 64-bit Ubuntu runs 1.13-pre1 fine (starts, displays menu, creates and loads world).

ls -l /home/viking/.minecraft/versions/1.13-pre1/
{{ total 15724}}
--rw-rw-r--- 1 viking viking 16064526 Jun 6 11:58 1.13-pre1.jar
--rw-rw-r--- 1 viking viking 31624 Jun 6 14:01 1.13-pre1.json

unzip -l /home/viking/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar
{{ (This worked for 1.12.2 from the relevant json)}}
{{ Archive: /home/viking/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar}}
{{ Length Date Time Name}}
{{ --------- ---------- ----- ----}}
{{ 0 2015-02-09 16:18 META-INF/}}
{{ 107 2015-02-09 16:18 META-INF/MANIFEST.MF}}
{{ 395108 2015-02-09 15:53 liblwjgl.so}}
{{ 469936 2015-02-09 15:53 liblwjgl64.so}}
{{ 368392 2013-04-07 00:53 libopenal.so}}
{{ 404085 2013-04-07 00:53 libopenal64.so}}
{{ --------- -------}}
{{ 1637628 6 files}}

 

unzip -l /home/viking/.minecraft/libraries/org/lwjgl/lwjgl/3.1.2/lwjgl-3.1.2-natives-linux.jar
{{ (This was loaded for 1.13-pre1 from the relevant json)}}
{{ Archive: /home/viking/.minecraft/libraries/org/lwjgl/lwjgl/3.1.2/lwjgl-3.1.2-natives-linux.jar}}
{{ Length Date Time Name}}
{{ --------- ---------- ----- ----}}
{{ 331592 2017-05-15 18:14 liblwjgl.so}}
{{ 41 2017-05-15 18:14 liblwjgl.so.git}}
{{ 42 2017-05-15 18:57 liblwjgl.so.sha1}}
{{ --------- -------}}
{{ 331675 3 files}}

file liblwjgl.so:
/home/viking/.minecraft/libraries/org/lwjgl/lwjgl/3.1.2/liblwjgl.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=d91e73d2dbbd37b323f304fbd8627f203d9acc36, stripped

As you can see, there's no 32-bit library to link, causing Minecraft to terminate at the linking stage.

I hope this helps you out. We'd really really like a 32-bit compatible linux lwjgl to use, as I won't be upgrading this machine for a while yet.

Cheers, BrickViking (a.k.a. DrSmokey)

Environment

 

Profile settings (1.6.89-j)
==================================

Profile name: Snapshots

Game Directory: /home/viking/Snapshots/.minecraft

Resolution: 1340x748

Launcher Visibility: Keep Launcher Open

Enable Experimental Development versions: true
Use version: 1.13pre1

JVM Arguments:
-Xmx1125M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M -Dorg.lwjgl.util.DebugLoader=true

=== End of profile settings ===

Launcher executed from bash script minecrafty (github.com/brickviking/minecrafty) with further patches unsubmitted (I'm the author).
bash$ minecrafty -c -B
~/.minecrafty ~

Game Output (BrickViking) log (Ubuntu):
==============================
OpenJDK Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[LWJGL] Failed to load a library. Possible solutions:
a) Add the directory that contains the shared library to -Djava.library.path or -Dorg.lwjgl.librarypath.
b) Add the JAR that contains the shared library to the classpath.
[LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to locate library: liblwjgl32.so
at org.lwjgl.system.Library.loadSystem(Library.java:146)
at org.lwjgl.system.Library.loadSystem(Library.java:66)
at org.lwjgl.system.Library.<clinit>(Library.java:49)
at org.lwjgl.system.MemoryAccessJNI.<clinit>(MemoryAccessJNI.java:13)
at org.lwjgl.system.Pointer.<clinit>(Pointer.java:22)
at org.lwjgl.system.Platform.mapLibraryNameBundled(Platform.java:80)
at org.lwjgl.glfw.GLFW.<clinit>(GLFW.java:602)
at ciq.B(SourceFile:2071)
at net.minecraft.client.main.Main.main(SourceFile:53)
=== End of BrickViking Output log ===

Machine details:

CPU: Core/2 Quad Q8400
memory: 4Gb
java: 1.8.0-131 (Ubuntu)

OS: Ubuntu Linux 17.04 (32-bit)

 

Linked issues

Attachments

Comments 10

It looks like the LWJGL team dropped support due to build system issues and lack of use. There's a second source. that says the same thing. And there simply don't appear to be any 32-bit binaries available as such. So I think this might be won't fix, but I'll check internally. Sorry :/

I'm having a "can't start" issue over on 32-bit Vista too, but it may not be related to this; I checked the lwjgl-3.1.2-natives-windows.jar just to be sure, there's a 32-bit DLL in there. That's why I wondered what was going on with Linux, as there isn't one for Linux.

 

It this still an issue with 1.13-pre5?

Unfortunately for 32-bit linux, yes. I unzipped the lwjgl-3.1.6-natives-linux, there's only a 64-bit liblwjgl.so, probably for the reasons mentioned above. Sigh. Guess my 32-bit clients won't be making it into 1.13 after all. I haven't checked the Vista client yet, I'll do that shortly.

Regards

 

As for 32-bit Vista, 1.13-pre1 doesn't work, and I can't figure out why as the last thousand log lines are obliterating anything earlier. 1.13-pre2 and pre5 seem to work in 32-bit mode. I could create a world, and navigate around it in creative mode. I'd call that good.

 

LWJGL 3.2.3 seems to run with 1.14.3 but with 1.14.4 there is some bug: https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=245947

Now there is a way to try with Raspbian 64-bit kernel:

https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=250730

Edit: So I don't think you understand the value of getting Java Minecraft to run well on the RPi 4: There are many children who are playing MC, but they all use different clients and since the network protocol is not compatible between these client versions the children are not able to play together (and the parents are not rich enough/do not want to destroy the planet enough) so if MC worked well on RPi 4 the children could play Java Minecraft together without ruining their parents or the planet. Gabbish?

As of Minecraft 1.20.5, the game now requires a 64-bit operating system to run. Resolving as invalid. (See also the changelog, section "Technical Changes")

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

brickviking

(Unassigned)

Community Consensus

lwjgl

Minecraft 1.13-pre1, Minecraft 1.13-pre5, Minecraft 1.13.2

Retrieved