Author |
Message |
Natanji
Joined: Wed Dec 15, 2010 11:14 pm Posts: 2
|
[Linux] libssl issues
Hi everyone, I purchased CC over the Humble Indie Bundle 2, specifically to run it on Linux. I'm running Arch Linux (32 bit), completely up to date. Sadly, my system seems *too much* up to date for CC. When I try to run the game, I get this: ./CortexCommand.bin: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory The problem is that I don't have libssl.so.0.9.8, but only libssl.so.1.0.0. I believe Ubuntu still uses the old version and probably CC was tested against that and not Arch Linux. Of course downgrading this library is out of question. libssl, as the name suggests, is a security relevant library that could easily put the whole system at risk when downgraded. Additionally, this would of course require downgrading all other software that depends on it. So I would like to ask politely to resolve this issue. I think if the game would look for libssl.so (which is a symlink to the actual libssl.so.x.x.x file) instead of a specific version, this might make the game work on different versions of libssl. On the other hand I do not know if this might lead to further problems still, but I am willing to test this out.
|
Wed Dec 15, 2010 11:31 pm |
|
|
MacAnkka
Joined: Thu May 14, 2009 8:44 am Posts: 29 Location: Finland
|
Re: [Linux] libssl issues
Arch user, too. You can get the PGKBUILD for the older version from AUR: http://aur.archlinux.org/packages.php?ID=36308It works right along the newer version, so no need to downgrade. edit: if you're not familiar with the Arch User Repository, read this: https://wiki.archlinux.org/index.php/Ar ... Repositoryand try this for easy installation of AUR packages: https://wiki.archlinux.org/index.php/Yaourt
|
Thu Dec 16, 2010 2:28 am |
|
|
BioBen
Joined: Wed Jan 06, 2010 2:17 am Posts: 81 Location: New Zealand
|
Re: [Linux] libssl issues
Your problem may be fixed soon (by a wise and linux proficient community member) Or in the next 1-2 years (by Data or a dev team member in the build)
|
Thu Dec 16, 2010 7:10 am |
|
|
Natanji
Joined: Wed Dec 15, 2010 11:14 pm Posts: 2
|
Re: [Linux] libssl issues
Thanks a lot, MacAnkka. That worked
|
Thu Dec 16, 2010 11:45 pm |
|
|
lzb
Joined: Sat Dec 18, 2010 9:04 pm Posts: 3
|
Re: [Linux] libssl issues
Had the same issue, and installed 0.9.x version, but when I select a mission and press "start game" it turns black screen and that's it. I hope it's some "beta issue".
|
Sat Dec 18, 2010 10:45 pm |
|
|
Wesley
Joined: Fri Dec 17, 2010 4:30 pm Posts: 15
|
Re: [Linux] libssl issues
you could link the libssl.so.0.9.8 to libssl.so.1.0.0 and try it again. you need to make this with libcrypto.so too.
(Arch user too, soon we outnumber the others, yey...^^)
|
Sat Dec 18, 2010 11:29 pm |
|
|
lzb
Joined: Sat Dec 18, 2010 9:04 pm Posts: 3
|
Re: [Linux] libssl issues
Tried to link in the first place, but with the same blackscreen issue.
(not Arch user here)
|
Sat Dec 18, 2010 11:58 pm |
|
|
misiu_mp
Joined: Mon Dec 20, 2010 12:55 pm Posts: 2
|
Re: [Linux] libssl issues
Fedora 14 user here.
./CortexCommand.bin: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory ./CortexCommand.bin: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory
A quick workaround is to create links for the missing lib versions: $cd /usr/lib $su #ln -s libssl.so.1.0.0c libssl.so.0.9.8 #ln -s libcrypto.so libcrypto.so.0.9.8
This definitely needs a proper fix. If you depend on a certain version of the lib - bundle it with the game. Otherwise link against a more general version.
Last edited by misiu_mp on Thu Dec 23, 2010 11:34 pm, edited 1 time in total.
|
Mon Dec 20, 2010 1:13 pm |
|
|
Asmageddon
Joined: Sun Apr 12, 2009 10:31 am Posts: 71
|
Re: [Linux] libssl issues
Wesley wrote: (Arch user too, soon we outnumber the others, yey...^^) I understand you. Arch is a glorious system. When(and if) I finally get a laptop I will definitely install Arch instead of Ubuntu or Mint(Windows is an absolute no, unless it's impossible to find a laptop without it preinstalled(and even then I will only keep it on a very small partition))
|
Mon Dec 20, 2010 3:24 pm |
|
|
lzb
Joined: Sat Dec 18, 2010 9:04 pm Posts: 3
|
Re: [Linux] libssl issues
@Asmageddon Nice to know, but please take your offtopic distro talk somewhere else. (btw. you can get a refund if you will return your unwanted Windows — read the license for details)
Anyone experiencing the „black screen issue”? Dunno if that's realated to missing lib{crypto,ssl} or what. Seems that CC does nothing after I „start” a mission. )-:
|
Mon Dec 20, 2010 10:16 pm |
|
|
misiu_mp
Joined: Mon Dec 20, 2010 12:55 pm Posts: 2
|
Re: [Linux] libssl issues
lzb wrote: Anyone experiencing the „black screen issue”? Dunno if that's realated to missing lib{crypto,ssl} or what. Seems that CC does nothing after I „start” a mission. )-: On fedora 14 I dont see that issue even though the crypto and ssl libs on the system are not the required versions.
|
Thu Dec 23, 2010 11:36 pm |
|
|
|