Running the C program compiled here causes the GLIBC library to not detect an error on another server - is this my fault or them?

The C program compiled here works great on our Ubuntu servers. But when someone else tries to run it on their particular Linux server, they get the following errors:

./myprog-install: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./myprog-install)
./myprog-install: /lib/tls/libc.so.6: version `GLIBC_2.7' not found (required by ./myprog-install)

Do I need to update glibc libraries and recompile? Or are they missing something on their server?

If I run apt-cache show libc6, my Ubuntu tells me that version:

Package: libc6
Priority: required
Section: libs
Installed-Size: 9368
Maintainer: Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: i386
Source: eglibc
Version: 2.11.1-0ubuntu7.10

If I look at http://packages.ubuntu.com/hardy/libc6 , the current version looks like 2.7-10ubuntu8.1.

I am confused by the numbers. On the one hand, 2.11-1-0 is greater than 2.7-11. 7.10, on the other hand, is a smaller number than 8.1.

C , ? - ?

+5
2

glibc-2.11. glibc-2.3 . .

, C

: glibc .

, , .

-, , ?

: , , .

Linux ( ), , , ( ​​ libc ..) , .

Update:

. GLIBC_2.11.1, , -, ?

.

, libc, . readdir64@@GLIBC_2.2, posix_spawn@@GLIBC_2.15 ..

, , , . glibc-2.1, .

, - ,

int main() { return 0; }

.

2:

GLIXC_2.4 GLIBC2.7 Linux-, ?

, . GLIBC_2.11 . , glibc-2.4 2.7, : .

+8

glibc, . glibc, , .

+1

All Articles