diff --git a/etc/rc.d/ldconfig b/etc/rc.d/ldconfig index 9aa7a6439b9a..ac096da0edf6 100755 --- a/etc/rc.d/ldconfig +++ b/etc/rc.d/ldconfig @@ -24,7 +24,7 @@ ldconfig_start() ldconfig=${ldconfig_command} checkyesno ldconfig_insecure && _ins="-i" if [ -x "${ldconfig_command}" ]; then - _LDC=/usr/lib + _LDC="/lib /usr/lib" for i in ${ldconfig_paths} /etc/ld-elf.so.conf; do if [ -r "${i}" ]; then _LDC="${_LDC} ${i}"