libpq.so.2.0 problem

From: James Hall <James(dot)Hall(at)RadioShack(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: libpq.so.2.0 problem
Date: 2000-11-07 15:48:46
Message-ID: DD6FD0C9668DD311AA040008C7566E8A0480E49D@ntmailc.tandy.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-ports

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= 2000-11-07 16:01:06 Re: libpq.so.2.0 problem
Previous Message Bob Parkinson 2000-11-07 15:17:33 Re: CurrentMemoryContext

Browse pgsql-ports by date

  From Date Subject
Next Message Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= 2000-11-07 16:01:06 Re: libpq.so.2.0 problem
Previous Message Pete Forman 2000-11-07 08:48:35 Re: Re: ps and psql from PostgreSQL not working with cygwin-1.1.5-2