I have the same problem with the library libpg.so.2.1! In my case the story with the seting the executable permission for the library didn't help. I thik the rest I intaled corect and I don't understand this problem. What I can do more? Please help!