[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libc6 problem



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Friday, Ulrich Wiederhold (U.Wiederhold@gmx.net) wrote:

  > > > `/usr/src/kernel-source-2.4.4/scripts/lxdialog'
  > > > /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

  > configure: error: installation or configuration problem: C compiler
  > cannot create executables.
  >
  > ./config.log :
  > ...
  > [the other testing stuff]
  > configure:838: checking for gcc
  > configure:951: checking whether the C compiler (gcc  ) works
  > configure:967: gcc -o conftest    conftest.c  1>&5
  > /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
  > configure: failed program was:

I saw this a couple of days ago with a custom libc I was working with. It
was caused (iirc) by a mismatch between the C library and the dynamic
linker. I suspect you'll find that your libc is fine, but your ld.so is
askew.

Normally, the libc can resolve these symbols in the dynamic linker, but in
this case it can't find them. Check that /lib/ld-linux.so.2 actually
points to ld-2.2.3.so and not something else (e.g., an older version).

HTH,

Mo.

- -- 
Mo McKinlay                   mmckinlay@gnu.org           http://ekto.org
                Read http://www.ietf.org/rfc/rfc1855.txt
- -------------------------------------------------------------------------
GnuPG/PGP Key: pub  1024D/76A275F9 2000-07-22





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjsBPhYACgkQRcGgB3aidfklTACePICQB8nMcZAlx2UJSJV0F1a6
U1oAn3JKzwKFz6BiZIzhkZR/HmnNX575
=3eva
-----END PGP SIGNATURE-----



Reply to: