1 (edited by PureLoneWolfFFM 2018-12-19 09:08:03)

Topic: [SOLVED]Debian - Update to latest Teeworlds Server?

Hi all

I just ran into the issue found over on this thread: https://www.teeworlds.com/forum/viewtopic.php?id=12151  I am running Debian Jessie and unpacked 0.71 from the website.

Based on that thread I then installed via apt-get but it is an older version.  Is there a way to get this to the newer version?  Or would anyone have a solution to the error:

./teeworlds_srv: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./teeworlds_srv)
./teeworlds_srv: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./teeworlds_srv)

My GCC version is 4.9.2

Many thanks in advance

2

Re: [SOLVED]Debian - Update to latest Teeworlds Server?

Please try

apt-get install libc6

and tell us what version this package is (apt-cache show libc6)

If you downloaded Linux x64, please try Linux x86 as well.

Not Luck, Just Magic.

3

Re: [SOLVED]Debian - Update to latest Teeworlds Server?

Hi there

libc6 was already installed and up to date, but here is the apt-cache output.

I'm not sure what you mean about 64bit/32bit.  I'm not in a position to install 32bit Debian as the box is my VPS and is also being used for live websites.

Package: libc6
Status: install ok installed
Priority: required
Section: libs
Installed-Size: 10230
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: amd64
Multi-Arch: same
Source: glibc
Version: 2.21-0experimental0
Replaces: libc6-amd64
Depends: libgcc1
Suggests: glibc-doc, debconf | debconf-2.0, locales
Breaks: hurd (<< 1:0.5.git20140203-1), libtirpc1 (<< 0.2.3), locales (<< 2.21), locales-all (<< 2.21), lsb-core (<= 3.2-27), nscd (<< 2.21)
Conflicts: prelink (<= 0.0.20090311-1), tzdata (<< 2007k-1), tzdata-etch
Conffiles:
 /etc/ld.so.conf.d/x86_64-linux-gnu.conf 593ad12389ab2b6f952e7ede67b8fbbf
Description-en: GNU C Library: Shared libraries
 Contains the standard libraries that are used by nearly all programs on
 the system. This package includes shared versions of the standard C library
 and the standard math library, as well as many others.
Description-md5: fc3001b0b90a1c8e6690b283a619d57f
Homepage: http://www.gnu.org/software/libc/libc.html

Package: libc6
Source: glibc
Version: 2.19-18+deb8u10
Installed-Size: 10229
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: amd64
Replaces: libc6-amd64
Depends: libgcc1
Suggests: glibc-doc, debconf | debconf-2.0, locales
Conflicts: prelink (<= 0.0.20090311-1), tzdata (<< 2007k-1), tzdata-etch
Breaks: hurd (<< 1:0.5.git20140203-1), libtirpc1 (<< 0.2.3), locales (<< 2.19), locales-all (<< 2.19), lsb-core (<= 3.2-27), nscd (<< 2.19)
Description-en: GNU C Library: Shared libraries
 Contains the standard libraries that are used by nearly all programs on
 the system. This package includes shared versions of the standard C library
 and the standard math library, as well as many others.
Description-md5: fc3001b0b90a1c8e6690b283a619d57f
Multi-Arch: same
Homepage: http://www.gnu.org/software/libc/libc.html
Tag: implemented-in::c, role::shared-lib
Section: libs
Priority: required
Filename: pool/main/g/glibc/libc6_2.19-18+deb8u10_amd64.deb
Size: 4665056
MD5sum: ceb1786eb7ac7f18ee194fe68ebeeb98
SHA1: 47e3e6cebc6c23b444ec23ede306df825fc1dab2
SHA256: 0a95ee1c5bff7f73c1279b2b78f32d40da9025a76f93cb67c03f2867a7133e61

4

Re: [SOLVED]Debian - Update to latest Teeworlds Server?

As far as I know, you can run the x86 binaries on your x64 system: https://github.com/teeworlds/teeworlds/ … x86.tar.gz
I did not mean to suggest changing system :)

It seems to me that you have a recent enough version of libc6, though...

Not Luck, Just Magic.

5

Re: [SOLVED]Debian - Update to latest Teeworlds Server?

ahem - Sorry, yeah, I posted that and went out - Halfway to the shop I realised that you meant Teeworlds 32bit lol

When I run the 32 bit Teeworlds, I get:

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

6

Re: [SOLVED]Debian - Update to latest Teeworlds Server?

To run 32-bit applications on debian you usually need to install ia32-libs.

7

Re: [SOLVED]Debian - Update to latest Teeworlds Server?

So - I installed the 32bit libstdc++6

sudo apt-get install lib32stdc++6

And the 32bit Teeworlds 0.71 is working perfectly now smile  I would prefer to run the 64bit version, but this works as a solution, just posting what worked for any future searchers smile

8 (edited by thepro 2018-12-19 01:31:02)

Re: [SOLVED]Debian - Update to latest Teeworlds Server?

I had a similar Problem on my server. It did not run with the binary from the Teeworlds.com website.
(Also due to something missing or not up to date)

The Fix: Compile Teeworlds using the source Code on your 64bit Debian system and use that binary. Then it will work

9

Re: [SOLVED]Debian - Update to latest Teeworlds Server?

Strange to see all those reports, even though the Linux x64 release was compiled on an old Debian version.
I might have messed up the server release somehow, but that seems unlikely.

Either way it seems 32bit works

Not Luck, Just Magic.

10

Re: [SOLVED]Debian - Update to latest Teeworlds Server?

I'm just happy to have found a solution - Thanks for the help everyone smile

I'll try and compile myself when I get chance, but the 32 bit version will be fine smile