2016-03-20 2 views
0

Я пытаюсь работать с PostgreSQL, но я имел эти проблемы, когда я попытался установить его в Oracle Linux 7.2 ядра 3.10.0-327как установить PostgreSQL в Oracle Linux 7.2

после использования этой команды для компиляции источник:

./configure --with-OpenSSL

у меня есть эта ошибка:

checking for main in -lm... yes 
checking for library containing setproctitle... no 
checking for library containing dlopen... -ldl 
checking for library containing socket... none required 
checking for library containing shl_load... no 
checking for library containing getopt_long... none required 
checking for library containing crypt... -lcrypt 
checking for library containing shm_open... -lrt 
checking for library containing shm_unlink... none required 
checking for library containing fdatasync... none required 
checking for library containing sched_yield... none required 
checking for library containing gethostbyname_r... none required 
checking for library containing shmget... none required 
checking for library containing readline... no 
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. 
[[email protected] postgresql-9.5.1]# brew 
bash: brew: command not found... 
[[email protected] postgresql-9.5.1]# find readline 
find: ‘readline’: No such file or directory 
[[email protected] postgresql-9.5.1]# yum install readline 
Loaded plugins: langpacks, ulninfo 

pgdg95 | 3.6 kB 00:00:00
(1/2): pgdg95/7Server/x86_64/group_gz | 333 B 00:00:00
(2/2): pgdg95/7Server/x86_64/primary_db | 127 кБ 00:00:00

Package readline-6.2-9.el7.x86_64 already installed and latest version 
Nothing to do 
[[email protected] postgresql-9.5.1]# 

Readline уже установлены, я не понимаю, почему я есть проблема

ответ

1

Я только что нашел решение для этого:

этой команды:

yum install readline-devel

yum install zlib-devel

решить мою проблему

+0

спасибо, спас мой день – jjj

Смежные вопросы