undefined reference to `_dl_debug_mask@GLIBC_2.2.3'

Andreas Jaeger aj@suse.de
Sun May 13 05:40:00 GMT 2001


Arkadiusz Miskiewicz <misiek@pld.ORG.PL> writes:

> Hi,
> 
> I have problem with glibc 2.2.3/linker/who knows on some x86 machines.
> 
> [arekm@fn arekm]$ cat test.c
> #include <stdio.h>
> 
> int main()
> {
> 	printf("ble\n");
> 	return 0;
> }
> [arekm@fn arekm]$ gcc test.c -o q 
> /lib/libc.so.6: undefined reference to `_dl_debug_mask@GLIBC_2.2.3'
> /lib/libc.so.6: undefined reference to `_dl_debug_printf@GLIBC_2.2.3'
> collect2: ld returned 1 exit status

Those two should be defined in /lib/ld-linux.so.2.  Check that the
dynamic linker and the shared library come from the same glibc
release.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Libc-alpha mailing list