Kernel-img 2.6.8-2-386:...symbol _errno, version GLIB_2.0 not defined
Package:kernel-image 2.6.8-2-386 | libc6 2.3.2.ds1-22 ??????????????
[Using GNU/Linux 2.4.27-1-386 - Debian-Sarge]
Hi all!
on december last year, closing bug #282692 (relating to
k-i-2.6.8-1-386), Masanori Goto said:
> You use non debian version ls, or you install your version in
> /usr/local/bin, and so on.
which didn't correspond to the actual situation as I had installed from
a Debian mirror with apt-get without adding a single comma to what was
being done automagically.
Yesterday I tried again with image 2.6.8-2-386: it boots regularly but
ls, perl, sleep still fire (more or less) the same error, i.e.:
"relocation error: libpthread.so.0: symbol _errno, version GLIB_2.0 not
defined in file libc.so.6 with link reference"
In a message of Dec 24, 2004, by Masanori Goto ("r847 - in
glibc-package/trunk/debian: . patches") I red about a patch which
"should be used until Sarge+1 was released ..."
and I'am uncertain as to whether that patch is to be applied also to
the brand new "Debian:3.1r0/stable" which became "stable" in June c.y.
OTOH, the following results seem to indicate that the '_errno' is
correctly defined in the relevant libraries:
objdump -T /lib/librt-2.3.2.so |egrep "_errno"
----------------------------------------------
00000000 DF *UND* 00000039 GLIBC_2.0 __errno_location
objdump -T /lib/libpthread.so.0 |egrep "_errno"
-----------------------------------------------
00000000 DO *UND* 00000004 GLIBC_2.0 _h_errno
00000000 DO *UND* 00000004 GLIBC_2.0 _errno
00009010 g DF .text 00000010 GLIBC_2.0 __h_errno_location
00009000 g DF .text 00000010 GLIBC_2.0 __errno_location
dpkg -l |grep "2.3.2.ds1-22"
----------------------------
ii glibc-doc 2.3.2.ds1-22 GNU C Library: Documentation
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries and Timezone
ii libc6-dbg 2.3.2.ds1-22 GNU C Library: Libraries with debugging symb
ii libc6-dev 2.3.2.ds1-22 GNU C Library: Development Libraries and Hea
ii libc6-i686 2.3.2.ds1-22 GNU C Library: Shared libraries [i686 optimi
ii libc6-pic 2.3.2.ds1-22 GNU C Library: PIC archive library
ii locales 2.3.2.ds1-22 GNU C Library: National Language (locale) da
(for each of them I checked that the latest version is already installed
in my box)
objdump -T /lib/libc.so.6 |egrep "_errno"
------------------------------------------
00131804 w DO .bss 00000004 GLIBC_2.0 _h_errno
00131804 g DO .bss 00000004 GLIBC_2.0 h_errno
000ea000 g DF .text 00000030 GLIBC_2.0 __h_errno_location
00016030 g DF .text 00000039 GLIBC_2.0 __errno_location
0012fc40 g DO .bss 00000004 GLIBC_2.0 _errno
objdump -T /lib/libc-2.3.2.so |egrep "_errno"
----------------------------------------------
00131804 w DO .bss 00000004 GLIBC_2.0 _h_errno
00131804 g DO .bss 00000004 GLIBC_2.0 h_errno
000ea000 g DF .text 00000030 GLIBC_2.0 __h_errno_location
00016030 g DF .text 00000039 GLIBC_2.0 __errno_location
0012fc40 g DO .bss 00000004 GLIBC_2.0 _errno
Could somebody please clarify this issue and/or suggest any other checking I
should carry out?
Thanks for your attenion.
Regards,
Ennio.
Reply to: