Please check where your libpq.so library is stored. If you are
using PostgreSQL 7.0, you have a "libpq.so.2.1", but no "libpq.so.2.0".
The problem is that most AOLserver builds are against PostgreSQL
6.5.3, which means your binary is looking for "libpq.so.2.0".
Solution? Simply link libpq.so.2.0 to libpq.so.2.1