libpq.so.2.0 problem - Mailing list pgsql-general

From James Hall
Subject libpq.so.2.0 problem
Date
Msg-id DD6FD0C9668DD311AA040008C7566E8A0480E49D@ntmailc.tandy.com
Whole thread Raw
List pgsql-general
Hello,
I recently installed Redhat 7.0 and Postgres 7.0.2 on a new server... the
install (of both) went better than expected, and I was able to get DBD and
DBI up and running. When I copied my scripts (perl) over to the new server
none ran. The error I received was "error in loading shared libraries
libpq.so.2.0: cannot open shared object file: No such file or directory".

So after an extensive search through the docs, faqs and maillist archive, I
tried making an entry in /etc/ld.so.conf to reflect the postgres library
(/usr/lib/pgsql for me) and also included /usr/include/pgsql just in case.
Then I ran ldconfig to register everything. No luck, nothing ran and I
received the same error. I found a copy of the file libpq.so.2.0 on another
machine (Redhat 6.2 upgraded to 7.0), copied it over to the /usr/lib/pgsql
directory, re-ran ldconfig, but still the same error.

I'm sure I'm in over my head at this point and any help to get my scripts up
and running would be greatly appreciated!
Thanks!
-Jim

pgsql-general by date:

Previous
From: Peter Pilsl
Date:
Subject: Re: Synchronizing Data?
Next
From: teg@redhat.com (Trond Eivind Glomsrød)
Date:
Subject: Re: libpq.so.2.0 problem