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:
- Mac installs the php Swoole extension and appears Enable openssl support, require openssl library or fatal error:’openssl/ssl.h’ file not found
- [Solved] Fatal error: Class ‘think\Container‘ not found & [InvalidArgumentException] Could not find package
- Mac PHP Fatal error: Class ‘Memcache’ not found
- Configure: error: Cannot find libz error appears when brew installs php70
- [Solved] PHP Fatal error: Uncaught Error: Class ‘Redis‘ not found in
- [Solved] Fatal error: Uncaught Error: Class ‘Imagick‘ not found
- Error during session start; please check your PHP and/or webserver log file and configure your PHP
- [Solved] Laravel admin Error: Symfony\Component\Debug\Exception\FatalThrowableError : Class ‘Doctrine\DBAL\Driver\PDOMySql\Driver’ not found
- Error during PHP installation and configuration error: off_t undefined; check your library configuration
- How to Solve PHP Error: no package’oniguruma’ found
- Error while injecting dependencies into App\Controller\IndexController: No entry or class found for
- PHP error in Windows: class’ mysqli ‘not found
- [PHP] php8 jit does not support 32-bit systems WARNING: JIT not supported by host architecture
- PHP php-config is not installed error in ubuntu 16 [How to Solve]
- Syntax error: typeerror: about installing sass in vue3 this.getOptions is not a function
- [Solved] Git error: You have not concluded your merge (MERGE_HEAD exists)
- [PHP] __autoload function will be called when class_exists does not exist
- laravel The Process class relies on proc_open, which is not available on your PHP installation.
- PHP Error Object of class mysqli could not be converted to string in
- [Solved] PHPMailer Failed to Send Email: SMTP Error: Could not connect to SMTP host.