RE: Psql depending upon libpq.so
It depends (pun intended) -- some architectures build psql with libpq.a statically linked, instead of linking against libpq.so dynamically. Running ldd against psql would tell the tale -- running ldd against postgres.so might also tell the tale. There may be another library that needs to be referenced, like libcrypt does on my Linux box.