Have you tried ldconfig yet?
I was working on a website that needed to use libraries from some lib directory on Linux. (it’s not like I understand WHERE To put files or install them yet, eh?)
But, after compiling and installing a program, I got the title of this post as an error message (with my specific library mentioned.)
How did I solve it? ldconfig
If it doesn’t work after that, good luck! MY problem was solved.