pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: infotodaniel@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16269: psql: error while loading shared libraries
Date: Thu, 20 Feb 2020 09:52:30 -0500
Message-ID: <7009.1582210350@sss.pgh.pa.us> (raw)
In-Reply-To: <16269-496be23121fd81e4@postgresql.org>
References: <16269-496be23121fd81e4@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> Operating system:   CENT OS - 7

> I Recently Upgraded from  9.5.3 to 10.10 on CENT os 7.
> initially I configured postgres only with "--with-openssl" , then developer
> asked for 
> libxml need to be enabled .
> Then I installed postgres again with "--with-openssl --with-libxml" in a
> different data and bin path,
> and later up the database with the existing data folder, after this am
> getting the Following error:
> "psql: error while loading shared libraries: libpq.so.5: cannot open shared
> object file: No such file or directory"
> Kindly advise what to do to fix this ?

Linux isn't terribly friendly to installing shared libraries in
nonstandard places.  If you want to do that, you'll need to
adjust the dynamic loader's search path -- "man ldconfig"
will help.

			regards, tom lane





view thread (2+ messages)

Message-ID: <7009.1582210350@sss.pgh.pa.us>
Permalink:  ../7009.1582210350@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7009.1582210350@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, infotodaniel@gmail.com
  Subject: Re: BUG #16269: psql: error while loading shared libraries
  In-Reply-To: <7009.1582210350@sss.pgh.pa.us>
  References: <16269-496be23121fd81e4@postgresql.org> <7009.1582210350@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