From d849c2642e2d2e12852a74462d00fe27484945e2 Mon Sep 17 00:00:00 2001 From: jkh Date: Thu, 30 Mar 2000 08:18:19 +0000 Subject: [PATCH] Search for the proper hints file in an ELF world. --- release/sysinstall/config.c | 2 +- usr.sbin/sade/config.c | 2 +- usr.sbin/sysinstall/config.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/release/sysinstall/config.c b/release/sysinstall/config.c index cc4cbd2e3102..47ee9a83576f 100644 --- a/release/sysinstall/config.c +++ b/release/sysinstall/config.c @@ -622,7 +622,7 @@ configXSetup(dialogMenuItem *self) } } - if (file_readable("/var/run/ld.so.hints")) + if (file_readable("/var/run/ld-elf.so.hints")) vsystem("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat"); else vsystem("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat"); diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index cc4cbd2e3102..47ee9a83576f 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -622,7 +622,7 @@ configXSetup(dialogMenuItem *self) } } - if (file_readable("/var/run/ld.so.hints")) + if (file_readable("/var/run/ld-elf.so.hints")) vsystem("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat"); else vsystem("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat"); diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index cc4cbd2e3102..47ee9a83576f 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -622,7 +622,7 @@ configXSetup(dialogMenuItem *self) } } - if (file_readable("/var/run/ld.so.hints")) + if (file_readable("/var/run/ld-elf.so.hints")) vsystem("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat"); else vsystem("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");