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: libssl.so.1.0.0: 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 start.sh file to reference them.

Thanks to massakra 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 start.sh in a text editor and add

export LD_LIBRARY_PATH="$CURRENT_DIR/lib/"

under the

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

block.
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
Apologies for trying to help. If you don't trust them, you're free to download the ones from the official repo, and do it all manually, or run a scan on them, or run them in a virtual machine to check, etc.

Like I said, all I did was zip up the same .so files from the debian repo and structure them, and edit the start.sh file to reference them so you can just extract it to the game directory and play.

edit: in fact, I've just double-checked the md5sum of the libssl.so.1.0.0 from my zip and the .deb file, they're both the same at 1e9657c0c0aa96fa9cff0a016f45f8de. Please feel free to check this too.
Post edited November 28, 2022 by OneMagpie
Could you please paste the contents of any scripts (like start.sh for example) here, so we don't have to download any files outside official repo? The security policy here doesn't allow downloads from unverified sources

Thanks!
Unfortunately, part of the proposed fix is downloading a large (hundreds of kilobytes) file, which is far too big to post inline. Fortunately, that file should be available from the openssl-compat package (or similar name) in your distribution.

The script change should be small enough to post inline in full. Ideally, it would be either posted in full (allowing users to replace their existing script with the posted one) or provided as the output of diff -u, so that recipients can use patch to apply it, rather than requiring them to hand apply the proposed changes.
avatar
OneMagpie: Apologies for trying to help. If you don't trust them, you're free to download the ones from the official repo, and do it all manually, or run a scan on them, or run them in a virtual machine to check, etc.

Like I said, all I did was zip up the same .so files from the debian repo and structure them, and edit the start.sh file to reference them so you can just extract it to the game directory and play.

edit: in fact, I've just double-checked the md5sum of the libssl.so.1.0.0 from my zip and the .deb file, they're both the same at 1e9657c0c0aa96fa9cff0a016f45f8de. Please feel free to check this too.
why it isn't fixed till now!
Damn great job GOG selling a game that doesn't work out of the box, "Good Old Game"

On Arch Linux you can download openssl-1.0 from aur
It's hard to blame GOG for this (or the developers), library problems are common on Linux because of its decentralized nature. It's the reason why Steam has adopted runtime environments or why distro-agnostic systems for software distribution such as Flatpak or AppImage exist.

Anyway, if you need a trusted source for downloading libraries that are no longer included in a distro's repository, you can always use that distro's archives, if those exists. As an example, you can use the Debian repository archives for Debian-based distros (https://archive.debian.org/debian-archive/debian/pool/main/).
Post edited July 13, 2025 by user deleted
avatar
OneMagpie: "error while loading shared libraries: libssl.so.1.0.0: 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 start.sh file to reference them.

Thanks to massakra for this fix, that's where I found the solution first. I just zipped it up and made it easy to install.
I experienced the problem and found your solution using an internet search. It is a bad idea to download and install binaries, but I validated your solution on a virtual machine, confirming no malware is present.

Thanks for providing a solution and shame on those who can only complain. It validates the old saying, "Those who can, do. Those who can't, complain."

P.S. if those who complained feel they have been unjustly criticized, I suggest you bundle all complaints with alternative solutions.
avatar
thomasmbrooks: P.S. if those who complained feel they have been unjustly criticized, I suggest you bundle all complaints with alternative solutions.
OSM has been MIA for quite a while. I suspect he walked in front of a bus while drunk.
avatar
OneMagpie: "error while loading shared libraries: libssl.so.1.0.0: 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 start.sh file to reference them.

Thanks to massakra for this fix, that's where I found the solution first. I just zipped it up and made it easy to install.
avatar
thomasmbrooks: I experienced the problem and found your solution using an internet search. It is a bad idea to download and install binaries, but I validated your solution on a virtual machine, confirming no malware is present.

Thanks for providing a solution and shame on those who can only complain. It validates the old saying, "Those who can, do. Those who can't, complain."

P.S. if those who complained feel they have been unjustly criticized, I suggest you bundle all complaints with alternative solutions.
Glad I could help, sorry you ended up going through setting up a VM and such just to check it. If I knew about VirusTotal when I first posted this, I would've just recommended people check it there if I knew there was going to be such a fuss lol
avatar
OneMagpie: If you want this to work with other Beamdog Enhanced Edition games, copy the lib folder to the game's main directory, open start.sh in a text editor and add

export LD_LIBRARY_PATH="$CURRENT_DIR/lib/"

under the

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

block.
Wow (Owen Wilson style): I did that exactly and it worked, all within a minute (Fedora 43). I spent two hours earlier trying to follow the directions of the Reddit Linux Master Race who all just assume you know exactly what to do at all times and by saying "add the lib to the script" you can immediately do it correctly.

So thank you for being a human and just saying how to do it.

I have one thing to add, since people seem to be a little QQ-ey about your download links. While I was searching the wasteland of Reddit, I found out you probably already have these two files installed on your system IF you have Steam. They can be found in ~/.steam/bin/steam-runtime/lib/x86_64-linux-gnu

At this point, you have no reason not to trust them if you trust Steam.
The link above doesn't work anymore, but you can still download the file from the official site of Ubuntu: security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/

I downloaded and installed the file "libssl1.0.0_1.0.2n-1ubuntu5.13_amd64.deb" on Linux Mint 22.1 and now BG1 EE starts normally.

Edit: Didn't see the Debian link above first. Either way, I can't delete my post anyway, so I'll leave it as an alternate download option.
Post edited January 22, 2026 by zereshk
Huge thanks I recently migrated to Linuxmint and for the last two days have been troubleshooting and reading like crazy. Nothing worked until I came across this thread. You sir deserve one of Winthrop's ales.
Thanks! I remember trying to fix this ten years ago or something. Still I believe it's time for Beamdog or GOG to fix this. It used to work on Ubuntu 14.04 and Debian 6 or 7 (can't remember which of the two I was using) but I needed to find a fix ever since, I even ended up using Wine and installing the Windows version once, Doable, it's easy, but I'd rather have a working Linux version.