I'm looking for a way to build psql on OS X so that it can be copied to
another computer without any external dependencies. In particular, if I
build the standard distribution and then copy psql to another computer,
I get an error that /mydir/.../lib/libpq.3.dylib cannot be found. This
is probably basic make stuff, but I'm not sure where to start.
I think I solved this on Windows (8.0 beta) just by keeping libpq.dll
and zlib.dll in the same directory with psql.exe. Please correct me if
there is more to it.
Thanks,
John DeSoi, Ph.D.