Re: Wrong dynamic link ../../../src/interfaces/libpq/libpq.sl.3 - Mailing list pgsql-general

From Tom Lane
Subject Re: Wrong dynamic link ../../../src/interfaces/libpq/libpq.sl.3
Date
Msg-id 22657.1189090018@sss.pgh.pa.us
Whole thread Raw
In response to Wrong dynamic link ../../../src/interfaces/libpq/libpq.sl.3  ("Rajaram J" <rajarj@hotmail.com>)
List pgsql-general
"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

pgsql-general by date:

Previous
From: Tino Wildenhain
Date:
Subject: Re: Alias "all fields"?
Next
From: "Max Zorloff"
Date:
Subject: Connection pooling