--- glibc-2.0.7/elf/rtld.c.orig Fri Jul 24 14:24:17 1998 +++ glibc-2.0.7/elf/rtld.c Fri Jul 24 16:50:00 1998 @@ -28,6 +28,9 @@ #include "dynamic-link.h" #include +#ifndef LD_SO_PRELOAD +#define LD_SO_PRELOAD "/etc/ld.so.preload" +#endif /* System-specific function to do initial startup for the dynamic linker. After this, file access calls and getenv must work. This is responsible @@ -387,7 +390,7 @@ } /* Read the contents of the file. */ - file = _dl_sysdep_read_whole_file ("/etc/ld.so.preload", &file_size, + file = _dl_sysdep_read_whole_file (LD_SO_PRELOAD, &file_size, PROT_READ | PROT_WRITE); if (file) {