Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F97587923
D42557.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
747 B
Referenced Files
None
Subscribers
None
D42557.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`
@@ -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
Details
Attached
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)
Attached To
Mode
D42557: rc.d/ldconfig: Prepend rtld stdlib paths to ldconfig(32)_paths
Attached
Detach File
Event Timeline
Log In to Comment