# Revision history [back]

According to ldconfig(8)

ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib)

Also on Ubuntu there are no configuration files in /etc/ld.so.conf.d/ for such location as /usr/local/lib, thus it has to be added manually in order dynamic linker to find appropriate libraries.

So, seems there is nothing wrong :)