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

"error while loading shared libraries: cannot open shared object file: No such file or directory"

The game uses outdated .so files that aren't included in most modern distros. This fix adds those files to the game directory and edits the file to reference them.

Thanks to massakra on the Baldur's Gate GOG forum for this fix, that's where I found the solution first. I just zipped it up and made it easy to install.

Download here!

Dropbox mirror

If you want this to work with other Beamdog Enhanced Edition games, copy the lib folder to the game's main directory, open in a text editor and add


under the

# Initialization
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source support/gog_com.shlib

Post edited March 08, 2023 by OneMagpie
lol just how many times...)))))))

also, yeah, Linux users you are POSITIVELY ENCOURAGED to download binaries from god knows where and run them on you system =P
Response here:

I'm not going to post the same thing twice in different threads like you did.
I'm not going to post the same useless (and potentially harmful) rubbish twice in different threads like you did.
Post edited November 30, 2022 by osm
I wonder in which distro?
I had the same problem in Debian 11.

It helped me: libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb

Downloaded from here:

In terminal enter: sudo dpkg -i ./libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb


Safer way:

1. Make 'lib' directory in PSTEE, copy there files from archive.

2. Edit, under these lines:

# (
# Game


# Add old libraries
export LD_LIBRARY_PATH="/home/USER/GOG Games/Planescape Torment Enhanced Edition/lib"

-> (change USER to your name) <-

3. Leave the rest of the file as it is.

4. Save.
Post edited June 18, 2023 by H. Seldon
Worked like a charm, OneMagpie, thanks!