1 (edited by c_c 2008-03-21 13:25:57)

Topic: How i can successfully host a server onto linux RedHat 9?

When i tryiing run teewars_srv, i found that there is required libstdc++ rpm containing library libstdc++.so.6.

./teewars: error while loading shared libraries:
libstdc++.so.6: cannot open shared object file: No such file or directory

For that OS I haven't found it, but I found for Fedora release, f.e. libstdc++-4.1.1-51.fc5.i386.rpm or libstdc++-4.3.0-2.i386.rpm.
Installing those rpms not finished successfully - required many some libraries in dependence.
Simply unpacking libstdc++.so.6 file from those to /usr/lib and trying run again don't crowned with success - requiring some other libs again:

$ nohup ./teewars_srv -f tee.cfg > tee.log &
[1] 26694
$ cat tee.log
./teewars_srv: /lib/i686/libc.so.6: version `GLIBC_2.4' not found (required by ./teewars_srv)
./teewars_srv: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
./teewars_srv: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/lib/libstdc++.so.6)
./teewars_srv: /lib/i686/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libstdc++.so.6)
[1]+  Exit 1                  nohup ./teewars_srv -f tee.cfg >tee.log</
rus. 16 rus. (and sry for my bad english)

2

Re: How i can successfully host a server onto linux RedHat 9?

you must build teewars server on your pc:
http://teewars.com/?page=docs&id=293

PS: i`ve got this same error, but i`m build server and ok.

3 (edited by c_c 2008-03-28 17:11:39)

Re: How i can successfully host a server onto linux RedHat 9?

[EDIT]
At this attepmt i've tried v 0.4.1 already.
[/EDIT]

Ok, i'd tried.And recieved next:

[oracle@deloold project]$ unzip -q bam.zip
[oracle@deloold project]$ unzip -q teeworlds-0.4.1-src.zip
[oracle@deloold project]$ cd bam
[oracle@deloold bam]$ ./make_unix.sh
[oracle@deloold bam]$ cd ../teeworlds-0.4.1-src
[oracle@deloold teeworlds-0.4.1-src]$ ../bam/src/bam TARGET
bam: target not found, 'TARGET' ('/home/tee/project/teeworlds-0.4.1-src/TARGET')
bam: error during build

Some notes if actual:
- home tee-path /home/tee recursively owned by user 'oracle'
- no find file TARGET (if must)

[oracle@deloold src]$ find /home/tee -name TARGET
[oracle@deloold src]$

I've tried link that had brought at here, but it seem that ix.teewars.com and ix.teeworlds.com (last seems such in suspection of domain renicing) not reccognised by our DNS-providers branch (should i recieve an IP for ix.* and access directly?)

Meanwhile, i'll kick my mind,arms and try some other steps at nearly time.

rus. 16 rus. (and sry for my bad english)

4 (edited by jeppo 2008-03-28 18:32:09)

Re: How i can successfully host a server onto linux RedHat 9?

http://www.teeworlds.com/?page=docs&id=293

For server only:

../bam/src/bam server_release

5 (edited by c_c 2008-03-31 08:33:08)

Re: How i can successfully host a server onto linux RedHat 9?

The Docs newer than the post-time and now key other than TARGET

$ ../bam/src/bam release
for all stuff,

But commonly, its seem old version had same explanation - we should need to run with TARGET and now shell need to run with release.
I'd tried this at that time and recieved such fault. Unhappely, i havn't record an error.
At this time with new key here is fool error log with attemption of all keys:

[oracle@deloold teeworlds-0.4.1-src]$ ../bam/src/bam release
bam: building 'release'
c inftrees.c
cc1: unrecognized option `-fstack-protector'
cc1: unrecognized option `-fstack-protector-all'
bam: compile_c returned error number 256
bam: error during build
[oracle@deloold teeworlds-0.4.1-src]$ ../bam/src/bam server_release
bam: building 'server_release'
c inftrees.c
cc1: unrecognized option `-fstack-protector'
cc1: unrecognized option `-fstack-protector-all'
bam: compile_c returned error number 256
bam: error during build
[oracle@deloold teeworlds-0.4.1-src]$ ../bam/src/bam server_debug
bam: building 'server_debug'
c inftrees.c
cc1: unrecognized option `-fstack-protector'
cc1: unrecognized option `-fstack-protector-all'
bam: compile_c returned error number 256
bam: error during build

And some notes again:

[oracle@deloold teeworlds-0.4.1-src]$ rpm -q gcc glibc python
gcc-3.2.2-5
glibc-2.3.2-11.9
python-2.2.2-26

[EDIT]
Ok, there is was same recomendation about -fstack-protector.
And a'd tried it too, and recieved others error. Here is part of server_debug log:

..
c++ gs_internaldata.cpp
sh: line 1: g++: command not found
bam: compile_cxx returned error number 32512
bam: error during build

It's seems my problem g++, i'll desiding there as soon as posible.
[/EDIT]

rus. 16 rus. (and sry for my bad english)