This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: undefined reference to `_dl_debug_mask@GLIBC_2.2.3'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]