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

×
I'm using Ubuntu 24.04.1. When I try to start MoO2 at the command line, I get the following error:

Running Master of Orion 2
Starting DOSBox
/home/daniel/Games/gog/master-of-orion-2/dosbox/dosbox_x86_64: error while loading shared libraries: libFLAC.so.8: cannot open shared object file: No such file or directory
Done.

Can anyone help me?

Thank you!
avatar
techogre: I'm using Ubuntu 24.04.1. When I try to start MoO2 at the command line, I get the following error:

Running Master of Orion 2
Starting DOSBox
/home/daniel/Games/gog/master-of-orion-2/dosbox/dosbox_x86_64: error while loading shared libraries: libFLAC.so.8: cannot open shared object file: No such file or directory
Done.

Can anyone help me?

Thank you!
I am guessing MoO2 is using DOSBox 0.74-2, likely compiled quite a while ago using shared libraries that have been updated since. You can check Software/package manager for FLAC but that may already be installed and newer than what is being looked for.

You can download DOSBox Staging, or DOSBox-X or install the DOSBox that comes with your Ubuntu (look in package/software manager) and use that instead of the one that comes with MoO2. Staging and X may also be in your Software Manager, I know they are in PoPOS.
You may have to use the terminal, or do manual setup of any of the above choices to be able to find and use MoO2.
I... don't have the time right now to help with that part.
I highly recommend learning how to do that though, as GoG do not update Linux packages often (or Mac). But there are "kinda" easy ways around it post install to get things working again.

Note: you can try editing the script that starts game to point to the version of dosbox you have downloaded.
I am not at home with my own Linux system to test this right now. Personally I use various versions of DOSBox, and the dbgl launcher to set things up on a partition dedicated to emulation.

If not in your package/Software manager can be downloaded here (dbgl will have to be downloaded for sure):
DOSBox Staging = https://www.dosbox-staging.org/
DOSBox-X = https://dosbox-x.com/
dbgl = https://dbgl.org/

One more solution I don't recommend, as newer libraries don't always work exact same was as older versions and the main library could be updated and name change making this solution break again, is this (in terminal):
NOTE: change folder names to correct ones for your system!!!!!!
cd /lib/x86_64-linux-gnu (<- this may be different on your system!!!! double check and make note if it is)
look for a version of libFLAC:
ls libFLAC*
libFLAC.so.12.0.0 - a newer version of the same library is probably there
cd "/home/<yoname>/GOG Games/Ravenloft Stone Prophet/dosbox/libs/x86_64" OR wherever the installer installed it.
and create a soft link from libFLAC.so.8 to the system's library libFLAC.so.12:
ln -s /lib/x86_64-linux-gnu/libFLAC.so.12.0.0 libFLAC.so.8 make sure the /lib path is correct for your system

Again, I do not recommend the above solution though it is quick and dirty.
Post edited December 13, 2024 by zandrag