1

Topic: libc.so.6 and other problems with server!

Hello!
I have problem with starting my server...
I have done all, what is needed, but when i start my server i got error:
./teewars_srv: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./teewars_srv)

What i can do to run that server?
I have read i may change do x86_64 version, but on that version i get error:
-bash: ./teewars_srv: cannot execute binary file



What's the problem???

2

Re: libc.so.6 and other problems with server!

Do you have 64bit machine? If yes download the x86_64 binarys and chmod +x the files you want to execute. For example chmod +x teewars_srv

3

Re: libc.so.6 and other problems with server!

IsSuE wrote:

Do you have 64bit machine? If yes download the x86_64 binarys and chmod +x the files you want to execute. For example chmod +x teewars_srv

Hmm.. I dont know if, but i tried with both vesions and the errors are in the first post...

4

Re: libc.so.6 and other problems with server!

please post the output of uname -a then we can see if you got a 64 os running

5

Re: libc.so.6 and other problems with server!

Linux *IP* 2.6.23.1-linode36 #1 Sun Nov 4 12:03:06 EST 2007 i686 GNU/Linux

6

Re: libc.so.6 and other problems with server!

You DON'T have x86_64, you have x86

Used to be very active waay back

7

Re: libc.so.6 and other problems with server!

Which distri are you running, and what version of glibc is installed?

8

Re: libc.so.6 and other problems with server!

I had the same problem on my debian server, but compiling it myself helped.

9 (edited by Prechcik 2008-01-22 11:32:22)

Re: libc.so.6 and other problems with server!

IsSuE wrote:

Which distri are you running, and what version of glibc is installed?

Hmm.. i don't know ; / im pretty new at that, but i have searched for that file in lib/tls folder, and there is such as libc.so.6 file! But i don't know how to see it's version...



@EDIT

I think its 2.3.x version on Debian

10

Re: libc.so.6 and other problems with server!

Prechcik wrote:
IsSuE wrote:

Which distri are you running, and what version of glibc is installed?

Hmm.. i don't know ; / im pretty new at that, but i have searched for that file in lib/tls folder, and there is such as libc.so.6 file! But i don't know how to see it's version...



@EDIT

I think its 2.3.x version on Debian

Emm.. Anyone respond?

Version of libc is 2.3.x (i dont know what in x, but 2.3 on 100%)
Running on Debian

11

Re: libc.so.6 and other problems with server!

make a

ldd <filename>

it helps alot smile

12 (edited by Prechcik 2008-01-23 16:21:42)

Re: libc.so.6 and other problems with server!

./teewars_srv: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./teewars_srv)
        linux-gate.so.1 =>  (0xffffe000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4001f000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x40031000)
        libm.so.6 => /lib/tls/libm.so.6 (0x40116000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4013b000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40146000)
        /lib/ld-linux.so.2 (0x40000000)


=/

13 (edited by IsSuE 2008-01-23 16:39:19)

Re: libc.so.6 and other problems with server!

where did you get your game from? i just downloaded .deb form getdeb.net and it works perfectly on my server. If that doesnt work for you, then try compiling the game from source
edit: direkt link http://www.getdeb.net/download/1927/0

14

Re: libc.so.6 and other problems with server!

... or just compile it smile

15

Re: libc.so.6 and other problems with server!

@Aliem
Like i know how to compile in unix systems <= im totally newbie in unix systems!

@IsSuE
I got another problem ; O

./teewars.deb: line 1: syntax error near unexpected token `newline'
./teewars.deb: line 1: `!<arch>'


What the hell.. one simple server and that amount of problems ; /

16

Re: libc.so.6 and other problems with server!

There is a nice page about compiling in the doc-section

Used to be very active waay back

17 (edited by IsSuE 2008-01-23 21:11:25)

Re: libc.so.6 and other problems with server!

Prechcik: you must install the .deb file first smile do so by typing dpkg -i nameofpkg.deb as root

If you want me to setup your server, just give me a ssh login and i will do the job for you.

18 (edited by Prechcik 2008-01-24 13:32:18)

Re: libc.so.6 and other problems with server!

IsSuE wrote:

Prechcik: you must install the .deb file first smile do so by typing dpkg -i nameofpkg.deb as root

If you want me to setup your server, just give me a ssh login and i will do the job for you.

I'm not root : / I don't have permissions to use dpkg command : /
Any other way ?



When i want to compile i get error:

bam: [string "internal base"]:267: attempt to call a nil value
strack traceback:
        [C](-1): errorfunc
        [string "internal base"](267): CollectAdv
                directory=0x80875c8 (function)
                pattern=0x8089e50 (function)
                d=nil
                f=(nil) (no value)
                (for generator)=(nil) (no value)
                (for state)=(nil) (no value)
                i=(nil) (no value)
                v=(nil) (no value)
        [string "internal base"](253): Collect
                arg=0x80875c8 (function)
                f=0x8089e50 (function)
                (for generator)=0x8089e88 (function)
                (for state)={...}
                i=(nil) (no value)
                what=(nil) (no value)
        default.bam(205): build
                settings=0x80875c8 (function)
        default.bam(331): (null)
bam: error during build