Bithack / principia

Open source physics-based sandbox game.
https://principia-web.se
Other
283 stars 30 forks source link

libpng error: bad parameters to zlib #176

Closed GalaxiumNation closed 3 months ago

GalaxiumNation commented 3 months ago

Principia version

(attempting to) run latest 2024.07.12 (terminal returned principia-git is already the newest version (1720792243-1))

OS / Hardware

HP HP ProBook 450 G8 Notebook PC- Platform: Linux 64bit

Summary

How I installed it on Ubuntu**

I had to jump through a smol hoop to get it (sorta) running on Ubuntu, since there isn't really an install option _to_ download it on Ubuntu. I had to manually download [ibjpeg62-turbo](https://packages.debian.org/sid/libjpeg62-turbo) and install that and then after running the debian instructions from https://principia-web.se/download it installed with (almost) no problem. during the `makedeb` process there was a single hiccup where it couldnt install a package because of innsufficient permissions so I installed it manually and restarted the `makedeb` process and it isntalled perfectly then. ------------------------------------------------------------------------

-anyway (ran from terminal) Crashes with error "libpng error: bad parameters to zlib" I doubt it has to do with libjpeg62-turbo, since it's coming from lib*png*? Idk. Updating my packages doesn't seem to do anything. Help plz ### Steps to reproduce Run Principia.
rollerozxa commented 3 months ago

Congratulations, you broke your system.

Please reinstall your Ubuntu and see if the error still happens without manually installing Debian packages into Ubuntu.

For the record I have no idea if the makedeb package actually works and if the runtime dependencies listed there are correct. I have only tested building it in a chroot and runtime package names are not stable between Debian/Ubuntu versions. I'll probably remove it from the download page and those distros will have to manually build Principia from source. Still though installing Debian packages into Ubuntu is a big no-no and if you don't know how to fully revert the changes you just made I'd recommend reinstalling it so you don't get further issues with it later down the line.

GalaxiumNation commented 3 months ago

Yea I've heard that it's not really the best idea to install debian packages on ubuntu but for me it's not that big of a deal to reinstall if it goes awry And ye ik how to revert it tells me what will be removed and stuff so meh ;P