Re: Wrong dynamic link ../../../src/interfaces/libpq/libpq.sl.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Rajaram J" <rajarj(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, rajaram(dot)j(at)hp(dot)com, prasanna(dot)b-m(at)hp(dot)com
Subject: Re: Wrong dynamic link ../../../src/interfaces/libpq/libpq.sl.3
Date: 2007-09-06 14:46:58
Message-ID: 22657.1189090018@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Rajaram J" <rajarj(at)hotmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message RC Gobeille 2007-09-06 15:06:28 tsearch2 anomoly?
Previous Message Tom Lane 2007-09-06 14:39:23 Re: Alias "all fields"?