preface
An error occurs when installing PostgreSQL, as shown below
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.
Solution:
Check whether the readLine
package is installed in the system
rpm -qa | grep readline
Install readline-devel
pack
yum -y install -y readline-devel
Execute configure
again successfully
The explanation of readLine
comes from the official website
--without-readline
Prevents use of the Readline library (and libedit as well). Thisoption disables command-line
editing and history in psql, so it is notrecommended.
Note: when you execute configure
, you can add “– without readLine” to avoid this error, but PostgreSQL officials do not recommend it
Similar Posts:
- Centos7 Install MYSQL Error: Could NOT find Curses (missing CURSES_LIBRARY CURSES_INCLUDE_PATH)
- unable to execute ‘gcc’: No such file or directory
- Python TypeError: file must have ‘read’ and ‘readline’ attributes
- An error occurred while pyenv was installing python zipimport.ZipImportError : can’t decompress data; zlib not available
- [Solved] UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xa5 in position 1508: illegal multibyte sequence
- DataRow Write Data Error: column 0 or column 1 cannot be found
- Make Command ERROR: “make:*** No targets specified and no makefile found.Stop.” [Three Method to Solve]
- Pyenv build failed solution
- Centos6 upgrades glibc-2.17 to solve requirements: libc. So. 6 (glibc)_ 2.14) (64bit) error resolution
- Python TypeError: unbound method a() must be called with A instance as first argument (go…