Page 1 of 1

[16.17][linux] Game won't start without libssl.so.1.0.0

Posted: Mon Jan 22, 2018 9:38 pm
by kitcat
After updating to 0.16.17 via the in-game updater, Factorio failed to start and complained about missing libssl.so.1.0.0. It gives the same error every time I try to start it.

Code: Select all

juser@pc:/vol/ssd/factorio/factorio.16/bin/x64> ./factorio 
./factorio: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
That’s not too surprising because I don’t have OpenSSL 1.0.0. I’m on Debian Stable and it comes with OpenSSL 1.0.2 and 1.1. 1.0.0 is not included because it’s not officially supported anymore.
I still have Factorio 0.16.16 and it works just fine. According to ldd, it’s not linked against OpenSSL.

Logfile of the update attached. Can’t attach a newer logfile because Factorio 0.16.17 doesn’t even run and thus won’t create one.
I also attached the output of ldd for the 0.16.16 and 0.16.17 Factorio binaries.

Linking precompiled binaries against OpenSSL is a huge pain, AFAIK. Good luck with that.

Edit:
Considering other library issues currently popping up, such as the libpng one (56922), maybe a different build system was used and it pulled in OpenSSL even though it’s not even needed?
Compiling the outdated OpenSSL version 1.0.0 and feeding it to Factorio 0.16.17 makes the binary start, but then it runs into the libpng issue.

Re: [0.16.17] Game won't start without libssl.so.1.0.0 on Linux

Posted: Mon Jan 22, 2018 10:38 pm
by 274Below
Same issue on Fedora 27.

Code: Select all

Jan 22 17:33:17 fqdn factorio[9198]: /opt/factorio/base/bin/x64/factorio: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
I do, however, have libssl.so.1.1:

Code: Select all

$ ls -la /usr/lib64/libssl.so*
lrwxrwxrwx. 1 root root     16 Nov 13 06:52 /usr/lib64/libssl.so.10 -> libssl.so.1.0.2m
-rwxr-xr-x. 1 root root 448640 Nov 13 06:52 /usr/lib64/libssl.so.1.0.2m
lrwxrwxrwx. 1 root root     16 Nov  6 03:24 /usr/lib64/libssl.so.1.1 -> libssl.so.1.1.0g
-rwxr-xr-x. 1 root root 451232 Nov  6 03:24 /usr/lib64/libssl.so.1.1.0g

Re: [0.16.17] Game won't start without libssl.so.1.0.0 on Linux

Posted: Mon Jan 22, 2018 10:39 pm
by Nidan
Same issue here, game wants libssl/libcrypto 1.0.0, I have 1.0.2 and 1.1 installed. Tricking the linker into using them doesn't work due to missing symbols.
Debian oldstable still has version 1.0.0, but that's, well... old

I recommend linking against a less ancient version of libssl and libcrypto

Re: [0.16.17] Game won't start without libssl.so.1.0.0 on Linux

Posted: Tue Jan 23, 2018 12:45 am
by straylit
I'm hitting the same error here on a headless multiplayer server running Debian as well.

Code: Select all

/opt/factorio/bin/x64/factorio: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
I added a symbolic link to libssl1.0.2 in /usr/lib/...

Code: Select all

sudo ln -s libssl.so.1.0.2 libssl.so.1.0.0
sudo ln -s libcrypto.so.1.0.2 libcrypto.so.1.0.0
and got the following error:

Code: Select all

/opt/factorio/bin/x64/factorio: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by /opt/factorio/bin/x64/factorio)
/opt/factorio/bin/x64/factorio: /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0: version `OPENSSL_1.0.0' not found (required by /opt/factorio/bin/x64/factorio)
/opt/factorio/bin/x64/factorio: /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0: version `OPENSSL_1.0.1' not found (required by /opt/factorio/bin/x64/factorio)
libssl1.0.0 is eol.

Re: [16.17][linux] Game won't start without libssl.so.1.0.0

Posted: Tue Jan 23, 2018 10:51 am
by HanziQ
Should be fixed in 0.16.18