pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #15656: Not able to login database 2+ messages / 2 participants [nested] [flat]
* BUG #15656: Not able to login database @ 2019-02-26 13:30 PG Bug reporting form <noreply@postgresql.org> 0 siblings, 1 reply; 2+ messages in thread From: PG Bug reporting form @ 2019-02-26 13:30 UTC (permalink / raw) To: pgsql-bugs@lists.postgresql.org; +Cc: prakash.ramakrishnan.ap@nielsen.com The following bug has been logged on the website: Bug reference: 15656 Logged by: ramakrishnan r Email address: prakash.ramakrishnan.ap@nielsen.com PostgreSQL version: 10.4 Operating system: rhel 7.5 Description: Hi Team, we are facing in PostgreSQL symbol lookup error and not able to login please do the needful. ==> export LD_LIBRARY_PATH=$/opt/app/PostgreSQL/10/lib:$LD_LIBRARY_PATH postgres@sydcosausd001.enterprisenet.org:/home/postgres ==> export LD_LIBRARY_PATH postgres@sydcosausd001.enterprisenet.org:/home/postgres ==> psql -p 5432 /opt/app/PostgreSQL/10/bin/psql.bin: symbol lookup error: /opt/app/PostgreSQL/10/bin/psql.bin: undefined symbol: PQsetErrorContextVisibility postgres@sydcosausd001.enterprisenet.org:/home/postgres ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #15656: Not able to login database @ 2019-02-27 05:25 Guy Rouillier <guy.rouillier@gmail.com> parent: PG Bug reporting form <noreply@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Guy Rouillier @ 2019-02-27 05:25 UTC (permalink / raw) To: prakash.ramakrishnan.ap@nielsen.com; pgsql-bugs@lists.postgresql.org; +Cc: prakash.ramakrishnan.ap@nielsen.com On 2/26/2019 8:30:37 AM, "PG Bug reporting form" <noreply@postgresql.org> wrote: >The following bug has been logged on the website: > >Bug reference: 15656 >Logged by: ramakrishnan r >Email address: prakash.ramakrishnan.ap@nielsen.com >PostgreSQL version: 10.4 >Operating system: rhel 7.5 >Description: > >Hi Team, > >we are facing in PostgreSQL symbol lookup error and not able to login please >do the needful. > >==> export LD_LIBRARY_PATH=$/opt/app/PostgreSQL/10/lib:$LD_LIBRARY_PATH >postgres@sydcosausd001.enterprisenet.org:/home/postgres >==> export LD_LIBRARY_PATH >postgres@sydcosausd001.enterprisenet.org:/home/postgres >==> psql -p 5432 >/opt/app/PostgreSQL/10/bin/psql.bin: symbol lookup error: >/opt/app/PostgreSQL/10/bin/psql.bin: undefined symbol: >PQsetErrorContextVisibility >postgres@sydcosausd001.enterprisenet.org:/home/postgres > I just did a fresh install of PG 10.6 on Linux Mint 19.1 Tessa, using the version in the repos: postgres=# select version(); version ------------------------------------------------------------------------------------------------------------------------------- PostgreSQL 10.6 (Ubuntu 10.6-0ubuntu0.18.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0, 64-bit (1 row) I didn't have to do anything with LD_LIBRARY_PATH because I did a default installation. Function PQsetErrorContextVisibility is found here: /usr/lib/x86_64-linux-gnu/libpq.so.5 If I do "ldd /usr/lib/postgresql/10/bin/psql" the second entry I see is this: libpq.so.5 => /usr/lib/x86_64-linux-gnu/libpq.so.5 (0x00007f93b7f20000) So, find where libpq.so.* is installed on your system, and make sure that is on your LD_LIBRARY_PATH. Use ldd to ensure that psql is fully linked to required libraries. -- Guy Rouillier > ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-02-27 05:25 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-02-26 13:30 BUG #15656: Not able to login database PG Bug reporting form <noreply@postgresql.org> 2019-02-27 05:25 ` Guy Rouillier <guy.rouillier@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox