PlaneShift

Support => Linux Specific Issues => Topic started by: stevel1983 on June 29, 2008, 09:25:33 pm

Title: Stupid shared libraries
Post by: stevel1983 on June 29, 2008, 09:25:33 pm


Please dont post a link to a guide, I have worked on this thing for 12 hours and Im loosing my patience with linux.  I have followed all of the advice and still cannot get this game to run. I got it to run once but then the server said it was down. I followed advice on a tcp dump and now it comes up with this error.

./psclient.bin: error while loading shared libraries: libCgGL.so: cannot open shared object file: No such file or directory
Code: [Select]
titan@titan-desktop:~$ cd /home/titan/opt/PlaneShift
titan@titan-desktop:~/opt/PlaneShift$ ./psclient.bin
./psclient.bin: error while loading shared libraries: libCgGL.so: cannot open shared object file: No such file or directory
titan@titan-desktop:~/opt/PlaneShift$
Ive tried everything listed on the forum. It took from download to playing on vista 12minutes. Its taken over 12 hours on linux and still no joy. Please help to restore my faith in opensource.
Title: Re: Stupid shared libraries
Post by: Caarrie on June 29, 2008, 09:34:18 pm
DO NOT run psclient.bin run psclient it is a script that lets the paths to the libs
Title: Re: Stupid shared libraries
Post by: stevel1983 on June 29, 2008, 09:36:00 pm
Code: [Select]
titan@titan-desktop:~/opt/PlaneShift$ ./psclient
./psclient.bin: error while loading shared libraries: libCgGL.so: wrong ELF class: ELFCLASS32
titan@titan-desktop:~/opt/PlaneShift$
Title: Re: Stupid shared libraries
Post by: Xordan on June 29, 2008, 09:52:38 pm
It might mean that you downloaded the wrong version.. x86 instead of x64 or vice versa.
Title: Re: Stupid shared libraries
Post by: stevel1983 on June 29, 2008, 09:54:07 pm
Nope, I downloaded the correct version. Im running 64 os and I downloaded 64game. I did however download off the forums some missing libs, that maybe the 32 error. Im not sure.
:http://hydlaa.com/smf/index.php?topic=22248.15
Title: Re: Stupid shared libraries
Post by: Caarrie on June 29, 2008, 09:56:13 pm
Nope, I downloaded the correct version. Im running 64 os and I downloaded 64game. I did however download off the forums some missing libs, that maybe the 32 error. Im not sure.
:http://hydlaa.com/smf/index.php?topic=22248.15

that post is outdated do a clean reinstall of the game and try again. NO libs posted there are updated to current release.
Title: Re: Stupid shared libraries
Post by: stevel1983 on June 29, 2008, 10:06:18 pm
I reinstalled the game and now Im locked out of my folder ???
Title: Re: Stupid shared libraries
Post by: stevel1983 on June 29, 2008, 10:26:40 pm
I reinstalled again. I even went under root to check my permissions. What happened ?????

I tried this out:
Code: [Select]
titan@titan-desktop:~$ chmod -r 755ing /home/titan/opt/PlaneShift
chmod: cannot access `755ing': No such file or directory
chmod: changing permissions of `/home/titan/opt/PlaneShift': Operation not permitted
titan@titan-desktop:~$
Title: Re: Stupid shared libraries
Post by: stevel1983 on June 29, 2008, 10:41:45 pm
Im going back to windows, DOS logic makes sense.
Title: Re: Stupid shared libraries
Post by: Eloras on June 29, 2008, 11:10:26 pm
why are you using chmod -r 755ing ?
chmod expects a 3 digit octal argument i.e 777 755 etc or +ur +gr -orwx

try losing the 'ing' maybe?

it may help to learn a little bit about the file permission system then you will stop banging into it (i did once too)
its what protects the system from your mistakes and nasty people outside
its why ive never had to use AV software and never been owned

if you want more info just ask then me or others can explain how it all works - its a pretty simple system
hth
Eloras

EDIT:
oops just noticed you (and me) are using the -r switch to recurse but with chmod you need to use -R switch