diff -ur sbin.orig/ldconfig/elfhints.c sbin/ldconfig/elfhints.c --- sbin.orig/ldconfig/elfhints.c 2001-05-03 00:56:18 +0100 +++ sbin/ldconfig/elfhints.c 2007-08-06 10:16:24 +0100 @@ -245,6 +245,9 @@ else add_dir(hintsfile, argv[i], 0); } + /* Always add our system dirs */ + add_dir (hintsfile, "/lib", 1); + add_dir (hintsfile, "/usr/lib", 1); write_elf_hints(hintsfile); }