Now, it's working
Many thanks @ Norbert_X...
Could you please clarify why you have too many libraries in /usr/local/lib? What is the goal?
Why you do not want to install applications from repository with Synaptic / APT / Software Boutique?
Compilation and installation from source code archives creates a mess in the system. If you really want to do so - then use CheckInstall.
...because, in the past I compiled OpenSSL and some libs.