Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/postgresql/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在linux上安装postgres_Linux_Postgresql_Centos5 - Fatal编程技术网

在linux上安装postgres

在linux上安装postgres,linux,postgresql,centos5,Linux,Postgresql,Centos5,我想通过rpm在centos 5.3上安装postgres,我执行命令 rpm -ihv postgres-9.0.3-1.i386.openscg.rpm 显示错误 error: Failed dependencies: libperl.so is needed by postgres-9.0-9.0.3-1.i386 看起来它需要perl(我想),但是perl版本5.8已经安装好了 有什么建议吗?找到解决方案了吗 通过安装 rpm -hiv ../inc/postgre

我想通过rpm在centos 5.3上安装postgres,我执行命令

 rpm -ihv postgres-9.0.3-1.i386.openscg.rpm
显示错误

error: Failed dependencies:
        libperl.so is needed by postgres-9.0-9.0.3-1.i386
看起来它需要perl(我想),但是perl版本5.8已经安装好了

有什么建议吗?

找到解决方案了吗

通过安装

rpm -hiv ../inc/postgresql-8.1.23-1.el5_6.1.x86_64.rpm
rpm -hiv ../inc/postgresql-server-8.1.23-1.el5_6.1.x86_64.rpm