On Sat, May 20, 2006 at 05:12:16AM +0000, Aurelien Jarno wrote: > >./rational: relocation error: ./rational: symbol errno, version > >GLIBC_2.0 not defined in file libc.so.6 with link time reference > > > >Is there any workaround for this problem? > > Well first we have to understand the problem. I don't really see what is > wrong, as the symbol is present: > > [henry:~]$ objdump -T /lib/libc.so.6 | grep errno > 000dfba0 g DF .text 00000090 GLIBC_2.0 clnt_perrno > 0011f360 g DO .bss 00000004 (GLIBC_2.0) _errno > 0011f360 g DO .bss 00000004 (GLIBC_2.0) errno > 000d3be0 g DF .text 00000028 GLIBC_2.0 __h_errno_location > 00120eb0 g DO .bss 00000004 (GLIBC_2.0) h_errno > 000155d0 g DF .text 00000028 GLIBC_2.0 __errno_location > 00120eb0 w DO .bss 00000004 (GLIBC_2.0) _h_errno > 000df7e0 g DF .text 00000083 GLIBC_2.0 clnt_sperrno > > Which was the latest version which worked? Have you tried to upgrade the > product?
Older versions of Debian glibc would automatically "downshift" to non-TLS libraries; maybe his previously installed version did. Try LD_ASSUME_KERNEL=2.4.1 ./rational? -- Daniel Jacobowitz CodeSourcery -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]