If you have gotten far enough to get the error in login2.cpp that you described then the solution is most likely described in the other posts in the Linux forum. Most of those solutions deal with PostgreSQL configuration and apply to Windows and Mac OSX as well as Linux.

Have you tried following the advice in those other posts?

Please visit: for the changed document