本文主要是介绍安装pg_rman是出现libpq.so.5()(64bit) is needed by ...,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
[root@node2 tmp]#rpm -ivh pg_rman-1.3.3-1.pg96.rhel6.x86_64.rpm
error: Failed dependencies:libpq.so.5()(64bit) is needed by pg_rman-1.3.3-1.pg96.rhel6.x86_64postgresql96-libs is needed by pg_rman-1.3.3-1.pg96.rhel6.x86_64
缺少libpq.so5()解决方法:
安装postgresql lib库
[root@node2 ~]# yum install postgresql-libs.x86_64
在继续进行安装就可以了
[root@node2 tmp]# rpm -ivh postgresql96-libs-9.6.1-1PGDG.rhel6.x86_64.rpm
warning: postgresql96-libs-9.6.1-1PGDG.rhel6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 442df0f8: NOKEY
Preparing... ########################################### [100%]1:postgresql96-libs ########################################### [100%]
[root@node2 tmp]# rpm -ivh pg_rman-1.3.3-1.pg96.rhel6.x86_64.rpm
Preparing... ########################################### [100%]1:pg_rman ########################################### [100%]
此方法在red hat下适用,如果不行可以yum install postgresql*,在centos下可以直接yum install postgresql*
这篇关于安装pg_rman是出现libpq.so.5()(64bit) is needed by ...的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!