Page MenuHomeFreeBSD

D42557.diff
No OneTemporary

D42557.diff

diff --git a/libexec/rc/rc.d/ldconfig b/libexec/rc/rc.d/ldconfig
--- a/libexec/rc/rc.d/ldconfig
+++ b/libexec/rc/rc.d/ldconfig
@@ -22,7 +22,7 @@
ldconfig=${ldconfig_command}
checkyesno ldconfig_insecure && _ins="-i"
if [ -x "${ldconfig_command}" ]; then
- _LDC="/lib /usr/lib"
+ _LDC=$(/libexec/ld-elf.so.1 -v | sed -n -e '/^Default lib path /s///p' | tr : ' ')
for i in ${ldconfig_local_dirs}; do
if [ -d "${i}" ]; then
_files=`find ${i} -type f`
@@ -52,6 +52,9 @@
fi
done
_LDC=""
+ if [ -x /libexec/ld-elf32.so.1 ]; then
+ _LDC=$(/libexec/ld-elf32.so.1 -v | sed -n -e '/^Default lib path /s///p' | tr : ' ')
+ fi
for i in ${ldconfig32_paths}; do
if [ -r "${i}" ]; then
_LDC="${_LDC} ${i}"

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 1, 5:26 AM (21 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13231850
Default Alt Text
D42557.diff (747 B)

Event Timeline