View unanswered posts | View active topics It is currently Fri Dec 27, 2024 11:09 pm



Reply to topic  [ 11 posts ] 
 [Linux] libssl issues 
Author Message

Joined: Wed Dec 15, 2010 11:14 pm
Posts: 2
Reply with quote
Post [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
Profile

Joined: Thu May 14, 2009 8:44 am
Posts: 29
Location: Finland
Reply with quote
Post 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=36308

It 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 ... Repository
and try this for easy installation of AUR packages:
https://wiki.archlinux.org/index.php/Yaourt


Thu Dec 16, 2010 2:28 am
Profile
User avatar

Joined: Wed Jan 06, 2010 2:17 am
Posts: 81
Location: New Zealand
Reply with quote
Post 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
Profile

Joined: Wed Dec 15, 2010 11:14 pm
Posts: 2
Reply with quote
Post Re: [Linux] libssl issues
Thanks a lot, MacAnkka. That worked :)


Thu Dec 16, 2010 11:45 pm
Profile

Joined: Sat Dec 18, 2010 9:04 pm
Posts: 3
Reply with quote
Post 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
Profile

Joined: Fri Dec 17, 2010 4:30 pm
Posts: 15
Reply with quote
Post 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
Profile

Joined: Sat Dec 18, 2010 9:04 pm
Posts: 3
Reply with quote
Post 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
Profile

Joined: Mon Dec 20, 2010 12:55 pm
Posts: 2
Reply with quote
Post 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
Profile

Joined: Sun Apr 12, 2009 10:31 am
Posts: 71
Reply with quote
Post 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
Profile

Joined: Sat Dec 18, 2010 9:04 pm
Posts: 3
Reply with quote
Post 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
Profile

Joined: Mon Dec 20, 2010 12:55 pm
Posts: 2
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.029s | 14 Queries | GZIP : Off ]