"Rajaram J" <rajarj@hotmail.com> writes:
> shmlgarlica# chatr psql
> psql:
> shared executable
> shared library dynamic path search:
> SHLIB_PATH disabled second
> embedded path disabled first Not Defined
> shared library list:
> dynamic ../../../src/interfaces/libpq/libpq.sl.3
> dynamic /usr/lib/libc.2
> dynamic /usr/lib/libssl.sl.0
> dynamic /usr/lib/libcrypto.sl.0
This is normal; the question is what have you done with the embedded
path? An out-of-the-box build should generate something like this:
$ chatr ~postgres/version74/bin/psql
/home/postgres/version74/bin/psql:
shared executable
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path enabled first /home/postgres/version74/lib
internal name:
psql
shared library list:
dynamic ../../../src/interfaces/libpq/libpq.sl.3
dynamic /usr/lib/libc.1
dynamic /usr/local/lib/libz.sl
dynamic /usr/lib/libdld.1
shared library binding:
deferred
BTW, if you are building 7.4.2 from source today, you are nuts. Current
release in that branch is 7.4.17.
regards, tom lane