linux:get_baldur_s_gate_running_on_ubuntu_linux

Fixing Library Problems

After fixing an aggravating problem in getting Baldur's Gate 1) to run on Fedora Linux, I tried to do the same on a fresh install of Ubuntu 16.04. The first problem I ran into was - after running start.sh - a message stating that ./BaldursGate was not found. You can fix this problem by installing wine.

$ sudo apt install wine

The second problem was a message stating: Unable to locate package libjson-cs.i386.

Likely, you already have the 64-bit library installed, but since Baldur's Gate is a 32-bit game, it requires a 32-bit library. Solve this problem by running:

$ sudo apt install libjson0:i386

It seems that the libjson0:i386 package is no longer present in the 18.04 repositories. Fixing this problem is now similar to how I fixed it on Fedora. First, download the 32-bit library:

sudo apt install libjson-c-dev:i386

Next, open a Terminal and navigate to /lib/i386-linux-gnu/. Now create a symbolic link to libjson-c.so.3.

sudo ln -s libjson-c.so.3 libjson.so.0

When you run start.sh again, you may get an error about a missing libssl library.

./BaldursGate: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

To fix this, install the 32-bit version of the library files:

sudo apt install libssl1.0.0:i386

And now the game runs properly.

Edit the source list:

sudo nano /etc/apt/sources.list

to add the following line:

deb http://security.ubuntu.com/ubuntu xenial-security main

Then…

sudo apt update && sudo apt install libssl1.0.0

1)
the GOG version
  • linux/get_baldur_s_gate_running_on_ubuntu_linux.txt
  • Last modified: 2020/09/07 00:14
  • by brian