Re: readline library not found - Mailing list pgsql-novice

From G. J. Walsh
Subject Re: readline library not found
Date
Msg-id 1193346805.28384.13.camel@www.dscdirectionalservices.com
Whole thread Raw
In response to readline library not found  ("G. J. Walsh" <gjwalsh@dscdirectionalservices.com>)
Responses Re: readline library not found  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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




pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: readline library not found
Next
From: Tom Lane
Date:
Subject: Re: readline library not found