Re: newbie psql error opening libpq.so.2

From: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
To: Ed Brown <ebrown(at)computer-systems(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: newbie psql error opening libpq.so.2
Date: 2002-11-19 14:20:47
Message-ID: 20021119142047.J18861@quartz.newn.cam.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Nov 18, 2002 at 09:16:39AM -0800, Ed Brown wrote:
> I'm new to PostgreSQL, and having a problem getting the software up
> and running on SCO Openserver 5.0.6. I've installed PostgreSQL v7.2.3,
> and get the following error when attempting to run psql:
>
> psql : error opening libpq.so.2
>
> The libpq.so.2 file does exist in the pgsql/lib directory. Compiled
> with gcc version 2.95.2.
>
> Thanks in advance for any replies.

I don't know about SCO, but non-elf systems often need eg.
a file /etc/ld.so.conf or an environment variable LD_LIBRARY_PATH which
contain a list of directories to search for shared libraries. Maybe
pgsql/lib needs to be added...

ldd `which psql`
would say "not found" for lpq.2. ("error opening" sounds more ominous, but
might be the same?)

Cheers,

Patrick

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2002-11-19 14:34:32 Re: Enterprise readiness - mirroring / incremental backup solutions?
Previous Message Bruno Wolff III 2002-11-19 14:18:37 Re: Stored Procedures