Since I went back to Debian I ran into a major issue with my favorite slicer program for 3D Printing.
As of writing this the current version of UltiMaker Cura is 5.9.0. The issue is when it tries to load it gets a GLX error and crashes. On Github there is a fix and I thought I would share it.
The issue is Libz. In Debian Unstable/Sid and Debian 13 Trixie and also some other flavors based off of Debian such as Ubuntu and Kali are using a never version of Libz. The fix is to download the deb file from Debian 12 Bookworm and tell the system to load it instead of using the newer version. Don’t install the deb file but extract the deb file along with extracting data.tar.gz file. Inside the data.tar.gz file is a few folders called /usr/lib/x86_64-linux-gnu and the single file we want is libz3.so.4 Just coy that file to a folder inside your home directory.
What I did was since I have the cura appimage I just put it into a sub folder called cura and have both the appimage and the libz3.so.4 file. Then I created a bash script that will load the libz3.so.4 file when it opens cura.
#!/bin/bash
LD_LIBRARY_PATH=/home/$USER/cura/ ./cura.AppImage
I saved the file as cura.sh then issued the command to make it executable.
chmod +x cura.sh
Simple as that.