Forum OpenACS Q&A: Compiling Postgresql-8.02 on Debian

I got this error message on my attempt to install Postgressql 8.0.2 on my Debian AMD 64

Does anyone know what could be wrong. How do i install this readline library?

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.
Use --without-readline to disable readline support.
postgres@home:/usr/local/src/postgresql-8.0.2$

Collapse
Posted by Vinod Kurup on

Hi iuri,

According to the Postgresql docs, you need GNU readline and the readline-dev package.

You should be able to do:

$ sudo apt-get install libreadline5-dev

I see that there is also a package called lib64readline4-dev, which may be more appropriate on your hunky machine.