pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #16269: psql: error while loading shared libraries 2+ messages / 2 participants [nested] [flat]
* BUG #16269: psql: error while loading shared libraries @ 2020-02-20 12:22 PG Bug reporting form <noreply@postgresql.org> 2020-02-20 14:52 ` Re: BUG #16269: psql: error while loading shared libraries Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 1 reply; 2+ messages in thread From: PG Bug reporting form @ 2020-02-20 12:22 UTC (permalink / raw) To: pgsql-bugs@lists.postgresql.org; +Cc: infotodaniel@gmail.com The following bug has been logged on the website: Bug reference: 16269 Logged by: Daniel Prince Email address: infotodaniel@gmail.com PostgreSQL version: 10.10 Operating system: CENT OS - 7 Description: Hi , 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 ? ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #16269: psql: error while loading shared libraries 2020-02-20 12:22 BUG #16269: psql: error while loading shared libraries PG Bug reporting form <noreply@postgresql.org> @ 2020-02-20 14:52 ` Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2020-02-20 14:52 UTC (permalink / raw) To: infotodaniel@gmail.com; +Cc: pgsql-bugs@lists.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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2020-02-20 14:52 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-02-20 12:22 BUG #16269: psql: error while loading shared libraries PG Bug reporting form <noreply@postgresql.org> 2020-02-20 14:52 ` 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