you are getting this error because your LD_LIBRARY_PATH is incorrect. I had the same problem myself.