Friday, March 29, 2024 errors with GOG games on Linux

I was getting ready to throw down some Starfleet justice when my crusade was derailed by the absence of . It seems that the DOSBOX binary GOG includes with their games is missing the libFLAC library. Not only is the library missing but it wants a specific version of it. I'm sporting Fedora 39 on my main box and my version of flac-libs was newer than what GOG's DOSBOX wanted. I found a packaged version that was as close as I could get and from a similar Linux distro. I ended up using flac-libs-1.3.3-12.el9.x86_64.rpm. My line of thought was to extract the libraries and throw them in the lib64 directory of the  installed game. In the end it worked and I was happy. 

I downloaded the correctly versioned RPM package from HERE. Once I had it in my Downloads directory I used rpm2cpio to decompress the rpm file. The command to unarchive the rpm via cpio is 

rpm2cpio flac-libs-1.3.3-12.el9.x86_64.rpm | cpio -idmv

After the deed was done I moved all the files form ./usr/lib64 onto the <game directory>/dosbox/lib/lib64/ directory. Upon completion of this you should be back aboard the NCC-1701 and doing whatever it is a Starfleet Captain does.

No comments:

Post a Comment