Re: PSQL anc compile errors

From: Alvaro Herrera <alvherre(at)atentus(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Tielman J de Villiers <tjdevil(at)bondnet(dot)co(dot)za>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: PSQL anc compile errors
Date: 2001-11-08 19:13:33
Message-ID: Pine.LNX.4.33L2.0111081611250.19807-100000@aguila.protecne.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 8 Nov 2001, Tom Lane wrote:

> Tielman J de Villiers <tjdevil(at)bondnet(dot)co(dot)za> writes:
> > I refer to previous questions/answers with regards to psql not displaying
> > the prompt correctly (ie, as => and NOT =#) and the up/down arrows not
> > working:

> On the other hand, if the up arrow doesn't bring back history, that
> definitely suggests missing or broken libreadline support. You should
> check whether the shared library loader is loading the right version of
> libreadline.

Try ldd(1) over the psql executable. If libreadline doesn't show up, it
isn't compiled to support it. If it was compiled with libreadline
support, it wouldn't even load if it couldn't find it at runtime.

> (I'm not on a Linux box right now, but IIRC there's some
> configuration file in /etc that controls its search path, and you have
> to update the cached search results after changing the config, too...
> Our installation instructions cover this, I think.)

That'd be /etc/ld.so.conf, and you can reload cached results by means of
ldconfig(8).

--
Alvaro Herrera (<alvherre[(at)]atentus(dot)com>)
"La gente vulgar solo piensa en pasar el tiempo;
el que tiene talento, en aprovecharlo"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Davis 2001-11-08 19:15:38 Re: [HACKERS] PostgreSQL v7.2b2 Released
Previous Message Oliver Korff 2001-11-08 19:13:27 Re: High Availability Cluster in Conjunction with PostGres