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
Read More:
- [Solved] PHP -v Error: error while loading shared libraries: libonig.so.5:cannot open share directory
- [Solved] error processing package libapache2-mod-php7.2
- Mac PHP Fatal error: Class ‘Memcache’ not found
- [Solved] Fatal error: Class ‘think\Container‘ not found & [InvalidArgumentException] Could not find package
- How to Solve PHP Error: no package’oniguruma’ found
- Laravel-admin php artisan admin:install error reporting problem solution
- Configure: error: Cannot find libz error appears when brew installs php70
- Error while injecting dependencies into App\Controller\IndexController: No entry or class found for
- [Solved] WordPress Upgrade PHP 5.6 to 7.x Fatal error: Uncaught Error: Call to undefined function mysql_connect()
- PHP solves the problem that composer exceeds the memory size Allowed memory size
- composer Error: The requested PHP extension ext-bcmath * is missing from your system. Install or enable
- Vant configures multiple sites, and new sites 404 error [How to Solve]
- [Solved] Fatal error: Uncaught Error: Class ‘Imagick‘ not found
- [Solved] PHP installation Phalcon expansion error
- PHP encryption 3DES error Call to undefined function: mcrypt_module_open() solution
- Laravel5.5 Error: SQLSTATE[42000] Syntax error or access violation 1071 Specified key was too long; max k
- Mac installs the php Swoole extension and appears Enable openssl support, require openssl library or fatal error:’openssl/ssl.h’ file not found
- [Solved] Error while sending STMT_PREPARE packet. PID=29294
- Undefined index: name error in composer [How to Solve]
- PHP error in Windows: class’ mysqli ‘not found