[root@localhost ~]# mv /etc/ld.so.conf.d/usrmove.conf .
[root@localhost ~]# ldconfig
[root@localhost ~]# ldconfig -p | wc -l
825
[root@localhost ~]# ldconfig -p | grep usr | wc -l
11
[root@localhost ~]# mv usrmove.conf /etc/ld.so.conf.d/
[root@localhost ~]# ldconfig
[root@localhost ~]# ldconfig -p | wc -l
825
[root@localhost ~]# ldconfig -p | grep usr | wc -l
824
[root@localhost ~]# ldconfig -p | grep -v usr
824 libs found in cache `/etc/ld.so.cache'
[root@localhost ~]#
Even though ldconfig links to "/usr/lib" by default, adding "/usr/lib"
to its conf seems to create direct links to "/usr/lib" rather than via
the "/lib" symlink.