Author Topic: Stupid shared libraries  (Read 1249 times)

stevel1983

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Stupid shared libraries
« 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.
AMD 3400 xp x64, 3gb OCZ pc6400, nvidia 8600gt, Ubuntu Hardy

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: Stupid shared libraries
« Reply #1 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

stevel1983

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Stupid shared libraries
« Reply #2 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$
AMD 3400 xp x64, 3gb OCZ pc6400, nvidia 8600gt, Ubuntu Hardy

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Re: Stupid shared libraries
« Reply #3 on: June 29, 2008, 09:52:38 pm »
It might mean that you downloaded the wrong version.. x86 instead of x64 or vice versa.

stevel1983

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Stupid shared libraries
« Reply #4 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
AMD 3400 xp x64, 3gb OCZ pc6400, nvidia 8600gt, Ubuntu Hardy

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: Stupid shared libraries
« Reply #5 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.

stevel1983

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Stupid shared libraries
« Reply #6 on: June 29, 2008, 10:06:18 pm »
I reinstalled the game and now Im locked out of my folder ???
AMD 3400 xp x64, 3gb OCZ pc6400, nvidia 8600gt, Ubuntu Hardy

stevel1983

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Stupid shared libraries
« Reply #7 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:~$
« Last Edit: June 29, 2008, 10:31:17 pm by stevel1983 »
AMD 3400 xp x64, 3gb OCZ pc6400, nvidia 8600gt, Ubuntu Hardy

stevel1983

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Stupid shared libraries
« Reply #8 on: June 29, 2008, 10:41:45 pm »
Im going back to windows, DOS logic makes sense.
AMD 3400 xp x64, 3gb OCZ pc6400, nvidia 8600gt, Ubuntu Hardy

Eloras

  • Traveller
  • *
  • Posts: 30
    • View Profile
Re: Stupid shared libraries
« Reply #9 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
« Last Edit: June 30, 2008, 12:51:11 pm by Eloras »