I did kind of a temporary trick. I was using Fedora 20 and all of my programs were compatible. I usually use ROOT and write C++ and Fortran codes. So, what I did as an administrator was saved the files in the exact locations they were on a different machine which has Fedora 20 and updated the configurations using "ldconfig". Except for a few, all the libraries got updated and I could run my programs without problem.
I know this is not a great way to solve the problem but could be used as a temporary around-the-problem-solution.
I look forward to other robust ways to deal with this.
Last edited by dibaryon; 15th February 2017 at 03:45 PM.
Reason: Included more information