libreadline and Debian 5 - not missing just badly named - Mailing list pgsql-general

From J. Bagg
Subject libreadline and Debian 5 - not missing just badly named
Date
Msg-id 4C067D64.1080806@kent.ac.uk
Whole thread Raw
Responses Re: libreadline and Debian 5 - not missing just badly named  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: libreadline and Debian 5 - not missing just badly named  (Dimitri Fontaine <dfontaine@hi-media.com>)
List pgsql-general
I've just had the common problem with not finding the readline library
while compiling/linking 8.4.4 on a new linux (Debian 5 - lenny). Nothing
seemed to work: --with-libraries=/lib and pointing CFLAGs there all
failed to find readline. The installed packages though said that it was
present.

The problem was that this linux had libreadline.so.5.2 with the symlink
libreadline.so.5 not libreadline.so. In other words the link had too
specific a name for the configure checks.

Simple solution: create the correct symlink - libreadline.so

Also needed a similar fix for libz.

It may be a problem with some *nixes, or versions, or with the
particular packages installed/not installed.

Janet

pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: Detecting if the DB is in backup mode or not
Next
From: Craig Ringer
Date:
Subject: Re: server-side extension in c++