A potential solution to fixing missing shared libraries
Everyone has that "error while loading shared libraries: libX.so.Y: cannot open shared object file: No such file or directory" problem with a program every once in a while.
The easiest solution is symlinking the missing library version to the one you have.
EDIT: Also carefully read the below post
For example your program is complaining that libfoo.so.1 is missing, you do some digging in /usr/lib and find that libfoo.so exists just not the specific version the program wants.
You can try fixing the problem by this command:
# ln -s /usr/lib/libfoo.so /usr/lib/libfoo.so.1
Now you can test your program.