Re: readline library not found

From: "G(dot) J(dot) Walsh" <gjwalsh(at)dscdirectionalservices(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: readline library not found
Date: 2007-10-25 21:13:25
Message-ID: 1193346805.28384.13.camel@www.dscdirectionalservices.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I thought i had this fixed when I added libreadline5-devel. That worked
for the other problem with zlib.

So, following Tom Lanes' suggestion, I read through the 1300+ lines of
the config.log and found this:

configure:6651 checking for -lreadline
/usr/lib/gcc/i586-mandriva-linux-gnu/4.2.2/../../../libreadline.so:
undefined reference to 'PC' 'tgetflag''tgetext' etc etc ...

So it does not like Mandriva's package.

I downloaded readline source from cwru.edu and installed it. What that
did was add libreadline to /usr/local/lib.

But the postgresql configure shows no change, regardless of which
library directory I specify (or none, for that matter).

I could remove the mandriva package, but that would involve breaking
relationships with some 40 packages. Seems a bit of overkill.

Probabaly it is best to do without readline. Seventeen hours on this one
situation is verging on the insane.

If ONLY Mandriva used /usr/local/pgsql rather than /var/lib/pgsql, I
would have been in business.

There are hundreds of google references to this so there has to be some
underlying problem which I am not aware of and therefore cannot really
address.

Thanks for attempting to address my frustration.That is appreciated,
really!

George

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2007-10-26 00:24:53 Re: readline library not found
Previous Message Tom Lane 2007-10-25 17:17:52 Re: readline library not found