Author Topic: Installing/compiling from source of planeshift on CentOS 5.4  (Read 1469 times)

virajithj

  • Traveller
  • *
  • Posts: 17
    • View Profile
Installing/compiling from source of planeshift on CentOS 5.4
« on: November 09, 2010, 05:53:03 am »
Hi,

I am trying to install the official Planeshift client on CentOS 5.4. However, after the install, when I run ./psclient, I get an error saying:
./psclient.bin: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./psclient.bin)
./psclient.bin: /lib/libc.so.6: version `GLIBC_2.7' not found (required by libs/libjpeg.so.8)

This error seems to be because of the libc version being used by CentOs. Is there a way to get rid of this and run the game on CentOS?


weltall

  • Moderator
  • Veteran
  • *
  • Posts: 1671
    • View Profile
    • http://weltall.heliohost.org
Re: Installing/compiling from source of planeshift on CentOS 5.4
« Reply #1 on: November 09, 2010, 08:42:27 am »
probably build it ... looks like centos has a bit too old libraries

virajithj

  • Traveller
  • *
  • Posts: 17
    • View Profile
Re: Installing/compiling from source of planeshift on CentOS 5.4
« Reply #2 on: November 09, 2010, 09:03:51 am »
probably build it ... looks like centos has a bit too old libraries

@weltall: I tried compiling the client from source code but was getting an error when I ran it. Here is the post that I had posted in another forum regarding it: http://www.hydlaaplaza.com/smf/index.php?topic=38403.0
Can you help me figure this out?

Thanks a lot!!

weltall

  • Moderator
  • Veteran
  • *
  • Posts: 1671
    • View Profile
    • http://weltall.heliohost.org
Re: Installing/compiling from source of planeshift on CentOS 5.4
« Reply #3 on: November 09, 2010, 12:18:03 pm »
you are missing at least the skin and the base skin files. you need to fetch them from the distro client

virajithj

  • Traveller
  • *
  • Posts: 17
    • View Profile
Re: Installing/compiling from source of planeshift on CentOS 5.4
« Reply #4 on: November 09, 2010, 06:01:30 pm »
you are missing at least the skin and the base skin files. you need to fetch them from the distro client

I have tried by using the art from the official client install but was then getting this same error. I believe I changed the  skins parameters in the .cfg file to point to elves.zip as that is the only default .zip file in the art of the official client.

weltall

  • Moderator
  • Veteran
  • *
  • Posts: 1671
    • View Profile
    • http://weltall.heliohost.org
Re: Installing/compiling from source of planeshift on CentOS 5.4
« Reply #5 on: November 09, 2010, 07:15:15 pm »
client_base.zip is another file

virajithj

  • Traveller
  • *
  • Posts: 17
    • View Profile
Re: Installing/compiling from source of planeshift on CentOS 5.4
« Reply #6 on: November 10, 2010, 05:31:50 am »
client_base.zip is another file

Ok. I think I am a bit confused here. I have compiled the client from source code and create an art/ directory in the PS root dir in which I placed the files of the art/ dir which comes along with the official client. I am not sure what skins I am missing. The error is the following: http://fpaste.org/9ndK/ and gdb gives the following reason for seg fault:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5b8d910 (LWP 6745)]
CS::Plugin::bgLoader::BgLoader::ParseShaders (this=0x7ffff7e21728) at src/common/bgloader/parser.cpp:80
80                           rets.Push(tloader->LoadShader(vfs->GetCwd(), file->GetContentsValue()));

Can someone help me figure out what exactly is the art work that I am missing and if that is the real reason for this error.

Thanks a lot!
Virajith

RlyDontKnow

  • Associate Developer
  • Hydlaa Citizen
  • *
  • Posts: 403
    • View Profile
Re: Installing/compiling from source of planeshift on CentOS 5.4
« Reply #7 on: November 10, 2010, 01:26:05 pm »
that one menas i fails to parse data/shader/shaderlist.xml properly

Elvicat

  • Hydlaa Notable
  • *
  • Posts: 831
    • View Profile
    • My site
Re: Installing/compiling from source of planeshift on CentOS 5.4
« Reply #8 on: November 14, 2010, 10:00:16 pm »
centos is more of a server os than a desktop os but works as both really but honestly i'd suggest you upgrade to centos 5.5, you'll still get that glibc error as i think centos has 2.5 or something.


RlyDontKnow

  • Associate Developer
  • Hydlaa Citizen
  • *
  • Posts: 403
    • View Profile
Re: Installing/compiling from source of planeshift on CentOS 5.4
« Reply #9 on: November 15, 2010, 10:41:20 am »
centos is more of a server os than a desktop os but works as both really but honestly i'd suggest you upgrade to centos 5.5, you'll still get that glibc error as i think centos has 2.5 or something.

may not be a bad idea especially with centos 6 being on it's way (which will also resolve the glibc error (for now))