From: Lee Harr <missive@frontiernet.net>
To: pgsql-admin@postgresql.org
Subject: Re: libpq.so.1: cannot open shared object file
Date: Thu, 22 Aug 2002 23:10:42 +0000 (UTC)
Message-ID: <ak3r1h$2avn$1@news.hub.org> (raw)
References: <cM5ulyLcQWZ9Ewmn@worsdall.demon.co.uk>
In article <cM5ulyLcQWZ9Ewmn@worsdall.demon.co.uk>, Mark Worsdall wrote:
> Hi,
>
> postmaster is running ok.
>
> When I run psql I get the following error:
>
> psql
> psql: error in loading shared libraries
> libpq.so.1: cannot open shared object file: No such file or directory
>
> [root@jilldando pgsql]# ls lib
> libecpg.a libpgeasy.a libpq++.a libpq.a
> libpsqlodbc.a plperl.so
> libecpg.so libpgeasy.so libpq++.so libpq.so
> libpsqlodbc.so plpgsql.so
> libecpg.so.3 libpgeasy.so.2 libpq++.so.4 libpq.so.2
> libpsqlodbc.so.0
> libecpg.so.3.3.0 libpgeasy.so.2.2 libpq++.so.4.0 libpq.so.2.2
> libpsqlodbc.so.0.27
>
> Any ideas, I am lost.
>
>
You might try linking libpq.so.1 --> libpq.so
with something along the lines of:
ln -s libpq.so libpq.so.1
You also need to make sure that the directory
with those files is on your library path.
On my FreeBSD machine I use ldconfig to set
that up, and the database startup scripts
that came with the port do it automatically
when the system boots.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: missive@frontiernet.net
Subject: Re: libpq.so.1: cannot open shared object file
In-Reply-To: <ak3r1h$2avn$1@news.hub.org>
References: <cM5ulyLcQWZ9Ewmn@worsdall.demon.co.uk> <ak3r1h$2avn$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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