readline

Started by Payal Rathodover 23 years ago3 messagesgeneral
Jump to latest
#1Payal Rathod
payal@hotpop.com

Hi,
I am trying to install postgresql 7.3.1 on Linux Mdk 9.0. But when I run
./configure I get,

configure: error: readline library not found
If you have readline already installed, see config.log for details on
the
failure. It is possible the compiler isn't looking in the proper
directory.

I tried to locate the libreadline and found them at,
/lib/libreadline.so.4@ /lib/libreadline.so.4.2@
/lib/libreadline.so.4.1@ /lib/libreadline.so.4.3

So I againn ran ./configure as,
./configure --with-includes=/lib --with-libraries=/lib
but still the same error.

What is going wrong? Can anyone guide me in this?

Thanks a lot and bye.
With warm regards.
-Payal

--
Payal Rathod <payal at hotpop.com>
"Visit Linux Success Stories"
www.geocities.com/rpayal99

#2Oliver Elphick
olly@lfix.co.uk
In reply to: Payal Rathod (#1)
Re: readline

On Fri, 2002-12-27 at 08:39, Payal Rathod wrote:

Hi,
I am trying to install postgresql 7.3.1 on Linux Mdk 9.0. But when I run
./configure I get,

configure: error: readline library not found
If you have readline already installed, see config.log for details on
the
failure. It is possible the compiler isn't looking in the proper
directory.

I tried to locate the libreadline and found them at,
/lib/libreadline.so.4@ /lib/libreadline.so.4.2@
/lib/libreadline.so.4.1@ /lib/libreadline.so.4.3

Those look like the runtime libraries. You want one called
libreadline.so.

So I againn ran ./configure as,
./configure --with-includes=/lib --with-libraries=/lib
but still the same error.

It looks for libraries in /lib anyway. I would expect the include files
to be in /usr/include/readline

What is going wrong? Can anyone guide me in this?

You need to install the readline development package, with the include
files and development library. Since I'm a Debian user, I don't know
what it would be called...
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"For the wages of sin is death; but the gift of God is
eternal life through Jesus Christ our Lord."
Romans 6:23

#3Payal Rathod
payal@hotpop.com
In reply to: Oliver Elphick (#2)
Re: readline

On Fri, Dec 27, 2002 at 08:53:12AM +0000, Oliver Elphick wrote:

What is going wrong? Can anyone guide me in this?

You need to install the readline development package, with the include

thanks all of you for the help. I installed the devel package from the
CD and now I can install it properly.

With regards.
-Payal

--
Payal Rathod <payal at hotpop.com>
"Visit Linux Success Stories"
www.geocities.com/rpayal99