Planescape: Torment openssl fix
What is thi
This fix works for every Enhanced edition Beamdog remakes, no matter if it's Baldur's Gate, Icewind Dale or Planescape: Torment.
I used this solution, because the GOG version of Planescape: Torment didn't start. It gave this error:
Running Planescape: Torment Enhanced Edition ./Torment64: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
After searching for solution that doesn't include just downloading some library from the internet, I have found a permanent one, which includes compiling this specific version of the library from the source.
You need some stuff for building the library, as it is the post:
- git
- make
- Perl 5
- an ANSI C compiler
- a development environment in form of development libraries and C header files
After that you need to download the specific version via git, and compile it:
mkdir make/a/directory/for/source cd make/a/directory/for/source git clone --branch OpenSSL_1_0_0-stable --single-branch --depth 1 https://github.com/openssl/openssl.git openssl_1.0.0 cd openssl_1.0.0 ./config shared make
If everything worked fine, you will have a directory with the library that we need. You can run the game from terminal:
LD_LIBRARY_PATH=~/src/openssl_1.0.0/ ./start.sh
Of course you can also take the compiled library and make a backup of it for next time, and for other games.