Open mattias opened 11 years ago
I have had this problem. To solve this, I think you can have 2 solutions :
Awesome, got it solved. After I compiled that and replaced the old libgraphics.so, I got this:
./libs/Dwarf_Fortress: /home/mattias/Games/df/df_linux/libs/libstdc++.so.6: version GLIBCXX_3.4.18' not found (required by /home/mattias/Games/df/df_linux/libs/libgraphics.so) ./libs/Dwarf_Fortress: /home/mattias/Games/df/df_linux/libs/libstdc++.so.6: version
CXXABI_1.3.5' not found (required by /home/mattias/Games/df/df_linux/libs/libgraphics.so)
./libs/Dwarf_Fortress: /home/mattias/Games/df/df_linux/libs/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /home/mattias/Games/df/df_linux/libs/libgraphics.so)
What I did to solve this was simply to delete df_linux/libs/libstdc++.so.6 so it would use system default instead. Dwarf Fortress is probably shipped with ancient libs. Now it runs!
This should get linked somewhere in the "common issuses" section in the wiki ... took me ages to find.
There are two issues here. The first, being the BMP vs PNG issue. I'm having a hard time reproducing it on both of my Debian 64-bit boxes. I'll see what I can do.
The ancient libstdc++ issue should be resolved as of 0.5.4 where I rename the ancient lib during install and force the system lib. I didn't bother including it in the dependency check because the gcc check should pull it in.
If you want to reproduce easily the bug, without installing arch, you can use manjaro : it share the same problem.
Experiencing this bug on Fedora 20 as well
Still relevant on Fedora 23.
Underlying error seems to be as follows:
** (Dwarf_Fortress:11327): WARNING **: Pixbuf theme: Cannot load pixmap file /usr/share/themes/Adwaita/gtk-2.0/Buttons/button-default.png: Failed to load image '/usr/share/themes/Adwaita/gtk-2.0/Buttons/button-default.png': Fatal error in PNG image file: bad parameters to zlib
As per the big announcement on the front page, this repository is unmaintained. I will not be fixing this bug.
I recommend you check out the pack being maintained at http://lazynewbpack.com/linux
On Wed, Apr 27, 2016 at 4:24 PM, Minexew notifications@github.com wrote:
Still relevant on Fedora 23.
Underlying error seems to be as follows:
\ (Dwarf_Fortress:11327): WARNING **: Pixbuf theme: Cannot load pixmap file /usr/share/themes/Adwaita/gtk-2.0/Buttons/button-default.png: Failed to load image '/usr/share/themes/Adwaita/gtk-2.0/Buttons/button-default.png': Fatal error in PNG image file: bad parameters to zlib
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/andrewd18/df-lnp-installer/issues/36#issuecomment-215234131
Sorry, I didn't realize this wasn't an official repository for DF. This issue is still one of the top results when googling the error message.
Running Arch Linux and just found this script. it installs everything fine but when I try to run df I get the error in the title, and in terminal I also see: "libpng error: bad parameters to zlib"
If I install dwarffortress-phoebus or dwarffortress-ironhand from AUR I don't have this issue, df starts fine.
If I switch graphics set the error just changes to something like "Not found: data/art/Phoebus_16x16.png" instead...
I have no idea what's causing this. The png is there...
I can't be the first to get this? I see other people have something similar with "mouse.png", but this seems to be slightly different.