Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102859472
D42557.id129989.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
703 B
Referenced Files
None
Subscribers
None
D42557.id129989.diff
View Options
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`
@@ -51,7 +51,7 @@
fi
fi
done
- _LDC=""
+ _LDC=`/libexec/ld-elf32.so.1 -v | sed -n -e '/^Default lib path /s///p' | tr : ' '`
for i in ${ldconfig32_paths}; do
if [ -r "${i}" ]; then
_LDC="${_LDC} ${i}"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 2:34 AM (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14708882
Default Alt Text
D42557.id129989.diff (703 B)
Attached To
Mode
D42557: rc.d/ldconfig: Prepend rtld stdlib paths to ldconfig(32)_paths
Attached
Detach File
Event Timeline
Log In to Comment