PlaneShift

Support => Linux Specific Issues => Topic started by: virajithj on November 09, 2010, 05:53:03 am

Title: Installing/compiling from source of planeshift on CentOS 5.4
Post by: virajithj 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?

Title: Re: Installing/compiling from source of planeshift on CentOS 5.4
Post by: weltall on November 09, 2010, 08:42:27 am
probably build it ... looks like centos has a bit too old libraries
Title: Re: Installing/compiling from source of planeshift on CentOS 5.4
Post by: virajithj 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!!
Title: Re: Installing/compiling from source of planeshift on CentOS 5.4
Post by: weltall 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
Title: Re: Installing/compiling from source of planeshift on CentOS 5.4
Post by: virajithj 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.
Title: Re: Installing/compiling from source of planeshift on CentOS 5.4
Post by: weltall on November 09, 2010, 07:15:15 pm
client_base.zip is another file
Title: Re: Installing/compiling from source of planeshift on CentOS 5.4
Post by: virajithj 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
Title: Re: Installing/compiling from source of planeshift on CentOS 5.4
Post by: RlyDontKnow on November 10, 2010, 01:26:05 pm
that one menas i fails to parse data/shader/shaderlist.xml properly
Title: Re: Installing/compiling from source of planeshift on CentOS 5.4
Post by: Elvicat 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.
Title: Re: Installing/compiling from source of planeshift on CentOS 5.4
Post by: RlyDontKnow 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))