pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15994: can't run psql
2+ messages / 2 participants
[nested] [flat]

* BUG #15994: can't run psql
@ 2019-09-06 22:39  PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2019-09-06 22:39 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: kneufeld@burgundywall.com

The following bug has been logged on the website:

Bug reference:      15994
Logged by:          Kurt Neufeld
Email address:      kneufeld@burgundywall.com
PostgreSQL version: 11.5
Operating system:   Ubuntu 18.04
Description:        

# psql --version
/usr/lib/postgresql/11/bin/psql: symbol lookup error:
/usr/lib/postgresql/11/bin/psql: undefined symbol: PQsslInUse

The cluster itself seems fine, pgcli can connect to it for instance.

On an Ubuntu 16.04 machine, psql 11.5-1.pgdg16.04+1 works fine.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #15994: can't run psql
@ 2019-09-07 00:00  Tom Lane <tgl@sss.pgh.pa.us>
  parent: PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2019-09-07 00:00 UTC (permalink / raw)
  To: kneufeld@burgundywall.com; +Cc: pgsql-bugs@lists.postgresql.org

PG Bug reporting form <noreply@postgresql.org> writes:
> # psql --version
> /usr/lib/postgresql/11/bin/psql: symbol lookup error:
> /usr/lib/postgresql/11/bin/psql: undefined symbol: PQsslInUse

Evidently this is binding to an old version of libpq.so that lacks
that symbol.  Probably it's finding some vendor-provided libpq.so
in /usr/lib or /usr/lib64, whereas what you need is to find the
one in /usr/lib/postgresql/11/lib.  Applying "ldd" to the psql
executable would help confirm that diagnosis.

It's hard to say more than that without knowing anything about
how this installation was built.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-09-07 00:00 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-09-06 22:39 BUG #15994: can't run psql PG Bug reporting form <noreply@postgresql.org>
2019-09-07 00:00 ` Tom Lane <tgl@sss.pgh.pa.us>

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