Another thing I found out during installation is that libpq.so is hard to
find. Setting LD_LIBRARY_PATH works, but I hate depending on environment
settings, mostly because I always screw them up sooner or later.
On searching, I found that you can specify -R/usr/local/pgsql/lib during
linking in gcc and in cc on Solaris -- is there some reason that would be
bad to do in general? I tried forcing it on psql and it seems to work
fine, and I don't need to set LD_LIBRARY_PATH any more.
I'm talking about Solaris 2.5 here, by the way.