readline library not found

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

I am attempting to build postgresql from source because there is a clear
need on our system to place the directories in the default
location, /usr/local/pgsql, while my distro places them in /var/lib.
Strictly a matter of disc array management.

The config is straightforward:

./configure \
--without-docdir \
--with-libs=/usr/local/lib
--with-includes=/usr/local/include/readline \
--with-pgport=5432 \
--with-openssl

This results in one error: 'readline library not found', even 'though I
specified the directories for readlines libraries and includes.

In /usr/local/lib are:

libreadline.a
libreadline.so -> libreadline.so.5
libreadline.so.5 -> libreadline.so.5.2
libreadline.so.5.2

In 'Beginning PHP and PostgreSQL 8' there is mention of a possible
problem with this, which was why I specified the directories.

If I configure --without-readline, things are quite 'happy'.

Guess this is so obvious i can't see the forest for the trees.

Anyone able to point me in a better direction?

GJW

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Phillip Smith 2007-10-25 00:40:58 Re: readline library not found
Previous Message Cedric BUSCHINI 2007-10-24 15:43:13 Re: delete DB with connection destroy?