Author Topic: No Sound, Source Compile, Ubuntu 8.10  (Read 1350 times)

EdSquareCat

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
No Sound, Source Compile, Ubuntu 8.10
« on: March 16, 2009, 02:24:10 am »
I'm running Ubuntu 8.10.  I installed the binary of PlaneShift x86 and it worked great, except for the fact that it crashed every couple minutes. I was told to install from source, so I did. I used this: http://planeshift.svn.sourceforge.net/viewvc/planeshift/trunk/docs/compiling.html#Linux-Ubuntu.GCC.User.Normal guide to install.  Now it runs fine, but there is no sound, and some textures don't exist.  I've tried the OpenAL -> Software fix to no avail.  The in-game Master Sound slider defaults to 0 when I start the game; changing that has no effect.   Ahhh, now I suddenly can't run the game.  ???  I get this error: 
Code: [Select]
./psclient: error while loading shared libraries: libcal3d.so.12: cannot open shared object file: No such file or directory
« Last Edit: March 16, 2009, 02:27:17 am by EdSquareCat »

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: No Sound, Source Compile, Ubuntu 8.10
« Reply #1 on: March 16, 2009, 02:29:08 am »
Code: [Select]
./psclient: error while loading shared libraries: libcal3d.so.12: cannot open shared object file: No such file or directory

make sure you do all the exports and export LD_LIBRARY as well

EdSquareCat

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: No Sound, Source Compile, Ubuntu 8.10
« Reply #2 on: March 16, 2009, 09:21:27 pm »
I've simply reinstalled it and I can start it again, but there is still no sound.  I get hundreds of errors similar to this on the console:
Code: [Select]
Mon Mar 16 16:16:34 2009, Failed to load Sound: env.dr_lownoise1
Mon Mar 16 16:16:34 2009, Couldn't create Resource 'env.kor_myst1'
Mon Mar 16 16:16:34 2009, <src/client/sound/pssoundmngr.cpp:1012 Initialize SEVERE>
and
Code: [Select]
Could not load image '/planeshift/helms/helm01_03.jpg'. Unknown format!

crystalspace.maploader.parse.texture:
  Could not load texture '/planeshift/helms/helm01_03.jpg', using checkerboard
  instead
  [node: library,textures,texture(name=/planeshift/helms/helm01_03.jpg)]

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: No Sound, Source Compile, Ubuntu 8.10
« Reply #3 on: March 16, 2009, 09:28:40 pm »
for the .ogg/sound issue try http://www.hydlaaplaza.com/smf/index.php?topic=34258.0 it might help, for the other issue i have no idea other then to run the updater.

EdSquareCat

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: No Sound, Source Compile, Ubuntu 8.10
« Reply #4 on: March 16, 2009, 09:57:19 pm »
I've tried that fix. When applied, I can't even run the client.  When the launcher asks me to update, clicking "Yes" or "No" causes it to hang.

Debci

  • Hydlaa Resident
  • *
  • Posts: 77
    • View Profile
Re: No Sound, Source Compile, Ubuntu 8.10
« Reply #5 on: March 19, 2009, 02:32:09 pm »
try installing openal, if you are installed export the path of crystal, this code are in the compiling manual.

regards

EdSquareCat

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: No Sound, Source Compile, Ubuntu 8.10
« Reply #6 on: March 21, 2009, 02:41:59 am »
Hmm I suddenly get that error again, and I cannot start the game
Code: [Select]
./psclient: error while loading shared libraries: libcal3d.so.12: cannot open shared object file: No such file or directory

Seems it happens when I restart my computer?

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: No Sound, Source Compile, Ubuntu 8.10
« Reply #7 on: March 21, 2009, 02:44:51 am »
Code: [Select]
./psclient: error while loading shared libraries: libcal3d.so.12: cannot open shared object file: No such file or directory

make sure you do all the exports and export LD_LIBRARY as well

you  MUST DO this each and EVERY time you close your console/terminal.

EdSquareCat

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: No Sound, Source Compile, Ubuntu 8.10
« Reply #8 on: March 21, 2009, 02:49:37 am »
Ha I just figured that out after I posted :). Any way to make this permanent?

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: No Sound, Source Compile, Ubuntu 8.10
« Reply #9 on: March 21, 2009, 03:15:22 am »
Any way to make this permanent?

not recommended due to the fact that your build can change and that path may change. make a txt file with the lines in it, then before you launch psclient type "source <filename>" and you are done.