It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
high rated
I fixed my own problem, but figured it would be good to post it anyway. I had the following error when starting NecroDancer:
./NecroDancer.x64: error while loading shared libraries: libFLAC.so.8: cannot open shared object file: No such file or directory

The flac package now provides libFLAC.so.12, not libFLAC.so.8. I 'solved' this by copying libFLAC.so.12 to game/NecroDancer64/lib/libFLAC.so.8, not sure if it properly plays FLAC files but the game at least starts. You can probably fix it more properly by installing an older version of the flac package, eg flac1.3 on the AUR.
Post edited October 25, 2022 by potsale
I had exactly the same error on Arch, though for a different game (Wacky Wheels, running on DOSBox). I can confirm that installing flac1.3 from the AUR works in this case.
Post edited June 02, 2023 by goldenapple3
avatar
goldenapple3: I had exactly the same error on Arch, though for a different game (Wacky Wheels, running on DOSBox). I can confirm that installing flac1.3 from the AUR works in this case.
Had this same problem for Master of Orion 2, your solution worked! Thank you.
Thanks I was having the same issue with some other programs and that let me get it sorted too.
high rated
avatar
potsale: I fixed my own problem, but figured it would be good to post it anyway. I had the following error when starting NecroDancer:
./NecroDancer.x64: error while loading shared libraries: libFLAC.so.8: cannot open shared object file: No such file or directory

The flac package now provides libFLAC.so.12, not libFLAC.so.8. I 'solved' this by copying libFLAC.so.12 to game/NecroDancer64/lib/libFLAC.so.8, not sure if it properly plays FLAC files but the game at least starts. You can probably fix it more properly by installing an older version of the flac package, eg flac1.3 on the AUR.
creating a symlink works as well.

i.e. Debian 12

sudo ln -s /usr/lib/x86_64-linux-gnu/libFLAC.so.12.0.0 /usr/lib/x86_64-linux-gnu/libFLAC.so.8

Apparently this issue exists in all games with DOSBOX backend
avatar
maki1994: creating a symlink works as well.

i.e. Debian 12

sudo ln -s /usr/lib/x86_64-linux-gnu/libFLAC.so.12.0.0 /usr/lib/x86_64-linux-gnu/libFLAC.so.8
Yes, that fixes it, though I'd suggest to make the link into the dosbox of the game, instead of the system.

That is, from the directory where the game is installed:

cd dosbox/libs/x86_64
ln -s /usr/lib/x86_64-linux-gnu/libFLAC.so.12 libFLAC.so.8
Let me add that the proper solution, of actually installing the correct verion of the library, was easy for me.

There is this website called pkgs.org - which hosts binaries for all sorts of stuff in both, .deb and .rpm package format.
Since I am running a current Ubuntu, where the apt also only finds version 12 of the lib,
I downloaded the .deb package from that site, and manually installed it with the dpkg command.
Since then, two GOG DOS games worked for me (not this one - which I don't have, but Realms of the Haunting and Ion Fury)