I am installing an application from source code and it requires a shared library which I'll call abc. The configure process finds a libabc.so symlink in /usr/lib that points to a 0.23 version of abc that is in /usr/lib folder. However, the project I am installing, requires the latest, 0.24 version of abc. I downloaded source code for abc and follwed the installation process: (configure, make, make install). The 0.24 version of abc is now installed in /usr/local/lib. However the configure utility for the application I am installing still complains that abc version 0.23 is not enough to go ahead with installation. How do I upgrade the abc installed on my system from 0.23 to 0.24? As a potential hack I guess I could change the symbolic link in for /usr/lib/libabc.so to point to the file in /usr/local/lib , but I don't feel that it is a clean solution. Another possiblity is to tell the installer somehow to look for shared libraries also in /usr/local/lib. What is the best way to proceed?
Note that /usr/local/lib is listed in one of the configuration files in /etc/ld.so.conf.d/.