--- mach/scripts/mach.in~ldconfig	2003-12-03 01:52:47.000000000 +0100
+++ mach/scripts/mach.in	2003-12-03 01:52:47.000000000 +0100
@@ -880,6 +880,7 @@
             # delete the original temp spec file
             command = 'rm /tmp/%s' % specfile
             self.do_chroot (command)
+            self.do_chroot ("/sbin/ldconfig")
 
             # rebuild from spec inside chroot, note: using a login shell
             # in order to get a vanilla default environment
