libpq.so.2 problems
libpq.so.2 problems
От:
psql-mail@freeuk.com
Дата:
Hi, I'm having trouble with libpg.so.2. Specifically: Can't load '/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/ Pg/Pg.so' for module Pg: libpq.so.2: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/ DynaLoader.pm line 229. I noticed someone else was having simlar trouble o nthe 11th of June. libpq.so.2 does exist, but is in: /usr/lib/pgsql/backup/libpq.so.2 the permission set on this directory (and the name) suggest that things in here shouldn't be used. Whats the score? should i just copy libpq.so.2 back out to /usr/lib along with all the other libpq.so.X's ? I have upto date versions of BDI::Pg, Pg, and postgresql-libs-7.3.2-3.i386.rpm (Redhat 9). Thanks.
Re: libpq.so.2 problems
От:
psql-mail@freeuk.com
Дата:
Ok - discovered the solution in pgsql-php, repeated below for reference: ---------------------------------------- From: "Peter De Muer (Work)" To: Subject: Re: 7.3.1 update gives PHP libpq.so.2 problem Date: Tue, 4 Feb 2003 14:06:04 +0100 try making a soft link libpq.so.2 to the libpq.so.3 file that comes with PHP 7.3.1. regards, pt3r ------------------------------------------- End of quoted message So (for me) its a case of: cd /usr/lib ln -s libpq.so.3 libpq.so.2