This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: undefined reference to `_dl_debug_mask@GLIBC_2.2.3'
- To: Arkadiusz Miskiewicz <misiek at pld dot org dot pl>
- Subject: Re: undefined reference to `_dl_debug_mask@GLIBC_2.2.3'
- From: Andreas Jaeger <aj at suse dot de>
- Date: 13 May 2001 14:40:24 +0200
- Cc: libc-alpha at sources dot redhat dot com
- References: <20010513141840.A10536@ikar.t17.ds.pwr.wroc.pl>
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