Fixing Library Problems

When Running Baldur's Gate on Fedora Linux

Recently I bought the GOG version of Baldur's Gate Enhanced Edition for my kids to (hopefully) play. I'm using Fedora 27. First I ran into a problem with a missing libjson.so.0 file, which required installing the appropriate i686 library (since Baldur's Gate is a 32-bit game).

$ sudo dnf install json-c-devel.i686

Then create a symlink to the appropriate file.

$ cd /usr/lib/
$ sudo ln -s libjson-c.so libjson.so.0

More aggravatingly, I ran into this problem with running the start.sh file for the game:

 Running Baldur's Gate Enhanced Edition
./BaldursGate: /lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by ./BaldursGate)
./BaldursGate: /lib/libssl.so.1.0.0: version `OPENSSL_1.0.1' not found (required by ./BaldursGate)
./BaldursGate: /lib/libssl.so.1.0.0: version `OPENSSL_1.0.0' not found (required by ./BaldursGate) 

Despite having a newer version of openssl installed, 1) the game still threw complaints, causing me to bang my face against the keyboard for longer than I care to admit. Creating symlinks to the newer versions of the files did not help. I finally solved it by downloading this 32-bit library file from the Ubuntu archives:

Open the archive and copy the following two files to /usr/lib. 2)

  1. libcrypto.so.1.0.0
  2. libssl.so.1.0.0

The game launched just fine after installing the old library files.

1)
You can check your version by running openssl version.
2)
If symlinks with these same filenames already exist - pointing to the newer version of the libraries - you will need to first remove the symlinks.