pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: stercor@gmail.com
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Tab-completion error...?
Date: Tue, 04 Jan 2022 18:15:33 -0500
Message-ID: <4155515.1641338133@sss.pgh.pa.us> (raw)
In-Reply-To: <CAPDmd-D-1Y7H3noOGCpPYHkjMVHdShX1vDTC8_r4k7vqKCHiKA@mail.gmail.com>
References: <CAPDmd-DGzaqoK=x5pzPCyTY0Eb2rKspzYT7xevZWZLvn96v2PA@mail.gmail.com>
	<d0845264-2bc3-9387-1578-986e3e4bbbff@aklaver.com>
	<CAPDmd-BqcfGAqc5sW8L05jn1C6LtZ=ctQspNv5wjmR0LeqmoDQ@mail.gmail.com>
	<df977063-ec63-592b-aa4d-0654e227bc81@aklaver.com>
	<CAPDmd-As40JeU_LVznwgNcT0w-ABDMd9rojaM+9fc1n8aLL6Nw@mail.gmail.com>
	<4042326.1641321158@sss.pgh.pa.us>
	<CAPDmd-D-1Y7H3noOGCpPYHkjMVHdShX1vDTC8_r4k7vqKCHiKA@mail.gmail.com>

"Theodore M Rolle, Jr." <stercor@gmail.com> writes:
> ldd /usr/local/pgsql/bin/psql
> linux-vdso.so.1 (0x0000ffffa2bef000)
> libpq.so.5 => /USR/local/lib/libpq.so.5 (0x0000ffffa2aaf000)
> libreadline.so.8 => /usr/lib/libreadline.so.8 (0x0000ffffa2a1d000)
> libpthread.so.0 => /usr/lib/libpthread.so.0 (0x0000ffffa29ed000)
> libm.so.6 => /usr/lib/libm.so.6 (0x0000ffffa2941000)
> libc.so.6 => /usr/lib/libc.so.6 (0x0000ffffa27cd000)
> /lib/ld-linux-aarch64.so.1 => /usr/lib/ld-linux-aarch64.so.1
> (0x0000ffffa2bbe000)
> libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0x0000ffffa2748000

Hm, is /USR actually in caps, or did you change that for emphasis?

> I'm at a loss as to where the /USR came from.
> It's not in config.log (compile time)
> nor in the psql executable (run time).

I think it came out of /etc/ld.so.conf.

BTW, by default PG would link psql using an rpath switch pointing at
/usr/local/pgsql/lib, which I assume is where your manual build
put its libpq.so.  That's evidently not having success getting that
libpq.so to be used.  Did you tell configure to --disable-rpath?
Or maybe move the installation after building it?

			regards, tom lane





view thread (9+ messages)  latest in thread

Message-ID: <4155515.1641338133@sss.pgh.pa.us>
Permalink:  ../4155515.1641338133@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4155515.1641338133@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, stercor@gmail.com, adrian.klaver@aklaver.com
  Subject: Re: Tab-completion error...?
  In-Reply-To: <4155515.1641338133@sss.pgh.pa.us>
  References: <CAPDmd-DGzaqoK=x5pzPCyTY0Eb2rKspzYT7xevZWZLvn96v2PA@mail.gmail.com> <d0845264-2bc3-9387-1578-986e3e4bbbff@aklaver.com> <CAPDmd-BqcfGAqc5sW8L05jn1C6LtZ=ctQspNv5wjmR0LeqmoDQ@mail.gmail.com> <df977063-ec63-592b-aa4d-0654e227bc81@aklaver.com> <CAPDmd-As40JeU_LVznwgNcT0w-ABDMd9rojaM+9fc1n8aLL6Nw@mail.gmail.com> <4042326.1641321158@sss.pgh.pa.us> <CAPDmd-D-1Y7H3noOGCpPYHkjMVHdShX1vDTC8_r4k7vqKCHiKA@mail.gmail.com> <4155515.1641338133@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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