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

This subforum contains all the issues which we already resolved.
kitcat
Long Handed Inserter
Long Handed Inserter
Posts: 67
Joined: Wed Apr 26, 2017 3:11 pm
Contact:

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

Post 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.
Attachments
ldd-factorio-0.16.17.txt
ldd output for Factorio 0.16.17 binary
(1.69 KiB) Downloaded 157 times
ldd-factorio-0.16.16.txt
ldd output for Factorio 0.16.16 binary
(1.63 KiB) Downloaded 147 times
factorio-current.log
Update log from 0.16.16 to 0.16.17
(4.07 KiB) Downloaded 145 times
Last edited by kitcat on Tue Jan 23, 2018 2:05 am, edited 3 times in total.
274Below
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sat Nov 05, 2016 12:39 am
Contact:

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

Post 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
Nidan
Filter Inserter
Filter Inserter
Posts: 268
Joined: Sat Nov 21, 2015 1:40 am
Contact:

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

Post 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
straylit
Manual Inserter
Manual Inserter
Posts: 4
Joined: Tue Jan 23, 2018 12:38 am
Contact:

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

Post 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.
User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

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

Post by HanziQ »

Should be fixed in 0.16.18
Post Reply

Return to “Resolved Problems and Bugs”