Re: BUG #16269: psql: error while loading shared libraries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: infotodaniel(at)gmail(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16269: psql: error while loading shared libraries
Date: 2020-02-20 14:52:30
Message-ID: 7009.1582210350@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2020-02-20 19:43:54 Re: Another FK violation when referencing a multi-level partitioned table
Previous Message PG Bug reporting form 2020-02-20 12:22:24 BUG #16269: psql: error while loading shared libraries