Archived

This topic is now archived and is closed to further replies.

lécrew

GLIBC_2.11 not found

Recommended Posts

Hi,

I've just updated utserver from the last version and I have a small situation...

utserver don't start anymore...." ./utserver: /lib32/libc.so.6: version `GLIBC_2.11' not found (required by ./utserver) "

I think I have the right version of libc6 but it's a symbolic link to libc-2.7.so .....

I'm on a debian lenny x64

can't see the problem here...the last version was working fine

I've installed many "libc6" packages but no luck...

 dpkg -l |grep "C Library"
ii libc6 2.7-18lenny7 GNU C Library: Shared libraries
ii libc6-dev 2.7-18lenny7 GNU C Library: Development Libraries and Header Files
ii libc6-i386 2.7-18lenny GNU C Library: 32bit shared libraries for AMD64
ii locales 2.7-18lenny4 GNU C Library: National Language (locale) data [support]

any idea? :D

thanks

Share this post


Link to post
Share on other sites

You have the right version for lenny. Squeeze has 2.11. Still, it would be unfortunate if uTorrent required such a recent version of a key library. I take it previous builds were OK?

Share this post


Link to post
Share on other sites

I tried to downgrade too, to the previous version....but same problem....that's weird :/

I don't understant why this library is not found while it's well installed...I had no problem before

Share this post


Link to post
Share on other sites

here is the result :


ldd utserver
./utserver: /lib32/libc.so.6: version `GLIBC_2.11' not found (required by ./utserver)
linux-gate.so.1 => (0xffffe000)
libssl.so.0.9.8 => /usr/lib32/i686/cmov/libssl.so.0.9.8 (0xf76b5000)
libcrypto.so.0.9.8 => /usr/lib32/i686/cmov/libcrypto.so.0.9.8 (0xf7562000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf754b000)
libm.so.6 => /lib32/libm.so.6 (0xf7527000)
librt.so.1 => /lib32/librt.so.1 (0xf751d000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7510000)
libc.so.6 => /lib32/libc.so.6 (0xf73be000)
/lib/ld-linux.so.2 (0xf7710000)
libdl.so.2 => /lib32/libdl.so.2 (0xf73ba000)
libz.so.1 => /usr/lib32/libz.so.1 (0xf73a5000)

Share this post


Link to post
Share on other sites

Installed 25053 version on a qnap x86 nas with linux kernel 2.6.33.2 and utorrent cant start

(upgrated from 21886 which works fine)

I receive this error:

"./utserver: /lib/libc.so.6: version `GLIBC_2.11' not found (required by ./utserver)"

This is my lib dir:


[/lib] # ls libc*.* -l
-rwxr-xr-x 1 admin administ 1249520 Jan 14 2008 libc-2.6.1.so*
lrwxrwxrwx 1 admin administ 13 Nov 9 22:21 libc.so.6 -> libc-2.6.1.so*
-rwxr-xr-x 1 admin administ 21912 Jan 14 2008 libcrypt-2.6.1.so*
lrwxrwxrwx 1 admin administ 13 Nov 9 22:21 libcrypt.so -> libcrypt.so.1*
lrwxrwxrwx 1 admin administ 17 Nov 9 22:21 libcrypt.so.1 -> libcrypt-2.6.1.so*
lrwxrwxrwx 1 admin administ 18 Nov 9 22:21 libcryptsetup.so -> libcryptsetup.so.0
lrwxrwxrwx 1 admin administ 22 Nov 9 22:21 libcryptsetup.so.0 -> libcryptsetup.so.0.0.0
-rw-r--r-- 1 admin administ 52824 Nov 9 22:13 libcryptsetup.so.0.0.0

This is my ldd of 25053 utorrent version which dont work:


[/share/MD0_DATA/.qpkg/utorrent] # ldd ./utserver
./utserver: /lib/libc.so.6: version `GLIBC_2.11' not found (required by ./utserver)
linux-gate.so.1 => (0xb7745000)
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0xb76fd000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb75b5000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb759d000)
libm.so.6 => /lib/libm.so.6 (0xb7578000)
librt.so.1 => /lib/librt.so.1 (0xb756f000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7564000)
libc.so.6 => /lib/libc.so.6 (0xb7430000)
/lib/ld-linux.so.2 (0xb7746000)
libdl.so.2 => /lib/libdl.so.2 (0xb742c000)

This is my ldd of the 21886 utorrent version which work well:


[/share/MD0_DATA/.qpkg/utorrent] # ldd utserver
linux-gate.so.1 => (0xb77b2000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7794000)
libm.so.6 => /lib/libm.so.6 (0xb776f000)
librt.so.1 => /lib/librt.so.1 (0xb7766000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb775a000)
libc.so.6 => /lib/libc.so.6 (0xb7626000)
/lib/ld-linux.so.2 (0xb77b3000)

This is my "ldd sh" :


[/share/MD0_DATA/.qpkg/utorrent] # ldd -v /bin/sh
linux-gate.so.1 => (0xb7711000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb76c6000)
libdl.so.2 => /lib/libdl.so.2 (0xb76c2000)
libc.so.6 => /lib/libc.so.6 (0xb758e000)
/lib/ld-linux.so.2 (0xb7712000)

Version information:
/bin/sh:
libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
libc.so.6 (GLIBC_2.4) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3.4) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libncurses.so.5:
libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.4) => /lib/libc.so.6
libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
/lib/libdl.so.2:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
/lib/libc.so.6:
ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.3) => /lib/ld-linux.so.2
ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2

Any idea how to fix it ?

Share this post


Link to post
Share on other sites

I think I have solved the problem of the missing library.

I have taken from a debian distro libc-2.11.2

I have build an alternative lib directory with the libc-2.11.2 inside instead of the libc-2.6.1

I have run this command to discover utorrent libs dependancies:


[/share/MD0_DATA/.qpkg/utorrent] # ldd ./utserver
./utserver: /lib/libc.so.6: version `GLIBC_2.11' not found (required by ./utserver)
linux-gate.so.1 => (0xb7745000)
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0xb76fd000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb75b5000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb759d000)
libm.so.6 => /lib/libm.so.6 (0xb7578000)
librt.so.1 => /lib/librt.so.1 (0xb756f000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7564000)
libc.so.6 => /lib/libc.so.6 (0xb7430000)
/lib/ld-linux.so.2 (0xb7746000)
libdl.so.2 => /lib/libdl.so.2 (0xb742c000)

Than i have copied all the needed libs to /share/MD0_DATA/.qpkg/utorrent/lib:


[/share/MD0_DATA/.qpkg/utorrent/lib] # ls -l
-rwxrwxrwx 1 admin administ 113964 Apr 3 22:06 ld-2.11.2.so*
-rwxrwxrwx 1 admin administ 109148 Jan 14 2008 ld-2.6.1.so*
lrwxrwxrwx 1 admin administ 12 Apr 3 22:10 ld-linux.so.2 -> ld-2.11.2.so*
-rwxrwxrwx 1 admin administ 1319176 Apr 3 22:06 libc-2.11.2.so*
-rwxrwxrwx 1 admin administ 1249520 Jan 14 2008 libc-2.6.1.so*
lrwxrwxrwx 1 admin administ 14 Apr 3 21:00 libc.so.6 -> libc-2.11.2.so*
-rwxrwxrwx 1 admin administ 1357968 Nov 9 22:08 libcrypto.so.0.9.8*
-rwxrwxrwx 1 admin administ 9736 Apr 3 22:06 libdl-2.11.2.so*
-rwxrwxrwx 1 admin administ 9684 Jan 14 2008 libdl-2.6.1.so*
lrwxrwxrwx 1 admin administ 15 Apr 3 22:10 libdl.so.2 -> libdl-2.11.2.so*
-rwxrwxrwx 1 admin administ 42700 Jan 14 2008 libgcc_s.so.1*
-rwxrwxrwx 1 admin administ 149392 Apr 3 22:06 libm-2.11.2.so*
-rwxrwxrwx 1 admin administ 145236 Jan 14 2008 libm-2.6.1.so*
lrwxrwxrwx 1 admin administ 14 Apr 3 22:10 libm.so.6 -> libm-2.11.2.so*
-rwxrwxrwx 1 admin administ 117105 Apr 3 22:06 libpthread-2.11.2.so*
-rwxrwxrwx 1 admin administ 80152 Jan 14 2008 libpthread-2.6.1.so*
lrwxrwxrwx 1 admin administ 20 Apr 3 22:10 libpthread.so.0 -> libpthread-2.11.2.so*
-rwxrwxrwx 1 admin administ 30684 Apr 3 22:06 librt-2.11.2.so*
-rwxrwxrwx 1 admin administ 30624 Nov 9 22:08 librt-2.6.1.so*
lrwxrwxrwx 1 admin administ 15 Apr 3 22:10 librt.so.1 -> librt-2.11.2.so*
-rwxrwxrwx 1 admin administ 262908 Nov 9 22:08 libssl.so.0.9.8*

Than i started the application with this command:


/share/MD0_DATA/.qpkg/utorrent/lib/ld-linux.so.2
--library-path /share/MD0_DATA/.qpkg/utorrent/lib
/share/MD0_DATA/.qpkg/utorrent/utserver

Now all works fine

Share this post


Link to post
Share on other sites
and why make an other directory instead of just put the libc-2.11.2 in /lib ?

because my nas NEED libc-2.6.1 and with libc-2.11.2 it stops working :)

using this workaround i give to utorrent its enviroment and i do not modify the nas stable enviroment.

Share this post


Link to post
Share on other sites

@paolomarino - how did you managed to get this going because I have a Qnap Nas and I would like to try this. Please post as much details ... :)

Many thanks.

Share this post


Link to post
Share on other sites

I have the same problem. I'm using.

lampir@hosted-by:~/utorrent-server-v3_0$ cat /proc/version

Linux version 2.6.18-238.9.1.el5.028stab089.1 (root@rhel5-build-x64) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Thu Apr 14 14:06:01 MSD 2011

lampir@hosted-by:~/utorrent-server-v3_0$ ldd utserver

./utserver: /lib32/libc.so.6: version `GLIBC_2.11' not found (required by ./utserver)

libssl.so.0.9.8 => /usr/lib32/i686/cmov/libssl.so.0.9.8 (0xb7ed4000)

libcrypto.so.0.9.8 => /usr/lib32/i686/cmov/libcrypto.so.0.9.8 (0xb7d81000)

libpthread.so.0 => /lib32/libpthread.so.0 (0xb7d6a000)

libm.so.6 => /lib32/libm.so.6 (0xb7d46000)

librt.so.1 => /lib32/librt.so.1 (0xb7d3c000)

libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xb7d2f000)

libc.so.6 => /lib32/libc.so.6 (0xb7bdd000)

/lib/ld-linux.so.2 (0xb7f2a000)

libdl.so.2 => /lib32/libdl.so.2 (0xb7bd9000)

libz.so.1 => /usr/lib32/libz.so.1 (0xb7bc4000)

lampir@hosted-by:~/utorrent-server-v3_0$

lampir@hosted-by:~/utorrent-server-v3_0$ ldd -v /bin/sh

linux-vdso.so.1 => (0x00007fffe453e000)

libncurses.so.5 => /lib/libncurses.so.5 (0x00002b23d918d000)

libdl.so.2 => /lib/libdl.so.2 (0x00002b23d93cc000)

libc.so.6 => /lib/libc.so.6 (0x00002b23d95d0000)

/lib64/ld-linux-x86-64.so.2 (0x00002b23d8f70000)

Version information:

/bin/sh:

libdl.so.2 (GLIBC_2.2.5) => /lib/libdl.so.2

libc.so.6 (GLIBC_2.4) => /lib/libc.so.6

libc.so.6 (GLIBC_2.3) => /lib/libc.so.6

libc.so.6 (GLIBC_2.3.4) => /lib/libc.so.6

libc.so.6 (GLIBC_2.2.5) => /lib/libc.so.6

/lib/libncurses.so.5:

libdl.so.2 (GLIBC_2.2.5) => /lib/libdl.so.2

libc.so.6 (GLIBC_2.3) => /lib/libc.so.6

libc.so.6 (GLIBC_2.2.5) => /lib/libc.so.6

/lib/libdl.so.2:

ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2

libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6

libc.so.6 (GLIBC_2.2.5) => /lib/libc.so.6

/lib/libc.so.6:

ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2

ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2

lampir@hosted-by:~/utorrent-server-v3_0$

Any other way except copying all libs and running with like that?

Share this post


Link to post
Share on other sites

I also have the same problem i run Ubuntu Linux 8.04.3

@ubuntu:~/utorrent$ ldd ./utserver
./utserver: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.11' not found (required by ./utserver)
linux-gate.so.1 => (0xb7fa7000)
libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7f5b000)
libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7e19000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e00000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7ddb000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7dd2000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7dc7000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c78000)
/lib/ld-linux.so.2 (0xb7fa8000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7c74000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7c5e000)

cat /proc/version
Linux version 2.6.24-24-server (buildd@palmer) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4))

Share this post


Link to post
Share on other sites
I think I have solved the problem of the missing library.

I have taken from a debian distro libc-2.11.2

I have build an alternative lib directory with the libc-2.11.2 inside instead of the libc-2.6.1

I have run this command to discover utorrent libs dependancies:


[/share/MD0_DATA/.qpkg/utorrent] # ldd ./utserver
./utserver: /lib/libc.so.6: version `GLIBC_2.11' not found (required by ./utserver)
linux-gate.so.1 => (0xb7745000)
libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0xb76fd000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb75b5000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb759d000)
libm.so.6 => /lib/libm.so.6 (0xb7578000)
librt.so.1 => /lib/librt.so.1 (0xb756f000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7564000)
libc.so.6 => /lib/libc.so.6 (0xb7430000)
/lib/ld-linux.so.2 (0xb7746000)
libdl.so.2 => /lib/libdl.so.2 (0xb742c000)

Than i have copied all the needed libs to /share/MD0_DATA/.qpkg/utorrent/lib:


[/share/MD0_DATA/.qpkg/utorrent/lib] # ls -l
-rwxrwxrwx 1 admin administ 113964 Apr 3 22:06 ld-2.11.2.so*
-rwxrwxrwx 1 admin administ 109148 Jan 14 2008 ld-2.6.1.so*
lrwxrwxrwx 1 admin administ 12 Apr 3 22:10 ld-linux.so.2 -> ld-2.11.2.so*
-rwxrwxrwx 1 admin administ 1319176 Apr 3 22:06 libc-2.11.2.so*
-rwxrwxrwx 1 admin administ 1249520 Jan 14 2008 libc-2.6.1.so*
lrwxrwxrwx 1 admin administ 14 Apr 3 21:00 libc.so.6 -> libc-2.11.2.so*
-rwxrwxrwx 1 admin administ 1357968 Nov 9 22:08 libcrypto.so.0.9.8*
-rwxrwxrwx 1 admin administ 9736 Apr 3 22:06 libdl-2.11.2.so*
-rwxrwxrwx 1 admin administ 9684 Jan 14 2008 libdl-2.6.1.so*
lrwxrwxrwx 1 admin administ 15 Apr 3 22:10 libdl.so.2 -> libdl-2.11.2.so*
-rwxrwxrwx 1 admin administ 42700 Jan 14 2008 libgcc_s.so.1*
-rwxrwxrwx 1 admin administ 149392 Apr 3 22:06 libm-2.11.2.so*
-rwxrwxrwx 1 admin administ 145236 Jan 14 2008 libm-2.6.1.so*
lrwxrwxrwx 1 admin administ 14 Apr 3 22:10 libm.so.6 -> libm-2.11.2.so*
-rwxrwxrwx 1 admin administ 117105 Apr 3 22:06 libpthread-2.11.2.so*
-rwxrwxrwx 1 admin administ 80152 Jan 14 2008 libpthread-2.6.1.so*
lrwxrwxrwx 1 admin administ 20 Apr 3 22:10 libpthread.so.0 -> libpthread-2.11.2.so*
-rwxrwxrwx 1 admin administ 30684 Apr 3 22:06 librt-2.11.2.so*
-rwxrwxrwx 1 admin administ 30624 Nov 9 22:08 librt-2.6.1.so*
lrwxrwxrwx 1 admin administ 15 Apr 3 22:10 librt.so.1 -> librt-2.11.2.so*
-rwxrwxrwx 1 admin administ 262908 Nov 9 22:08 libssl.so.0.9.8*

Than i started the application with this command:


/share/MD0_DATA/.qpkg/utorrent/lib/ld-linux.so.2
--library-path /share/MD0_DATA/.qpkg/utorrent/lib
/share/MD0_DATA/.qpkg/utorrent/utserver

Now all works fine

could you tell me how to copy? I run the last command

/root/utorrent/lib/ld-linux.so.2 --library-path /root/utorrent/lib /root/utorrent/utserver

and got

Segmentation fault

I don't know how to make it. could you help me, thanks!

Share this post


Link to post
Share on other sites