Eduardo <eduardo@complex.com.br> writes:
> I just instaled the version 7.0.3 on a FreeBSD.
> when i tryied :
> /usr/local/pgsql/bin createdb test
> /usr/libexec/ld-elf.so.1: Shared object "libpq.so.2" not found
You need to run ldconfig, or set LD_LIBRARY_PATH, or local equivalent
of either of these actions (not sure what FreeBSD calls 'em), to tell
the system there are shared libraries in /usr/local/pgsql/lib. See
step 8 in the installation procedure
http://www.postgresql.org/users-lounge/docs/7.0/postgres/install17165.htm
regards, tom lane