gpt4 book ai didi

linux - pg_statsinfo-10.0-1.pg10.rhel7.x86_64 需要错误 : Failed dependencies: libpq. so.5()(64bit)

转载 作者:太空宇宙 更新时间:2023-11-04 05:13:34 26 4
gpt4 key购买 nike

当我要安装

[postgres@m rpm]$ rpm -ivh pg_statsinfo-10.0-1.pg10.rhel7.x86_64.rpm
error: Failed dependencies:
libpq.so.5()(64bit) is needed by pg_statsinfo-10.0-1.pg10.rhel7.x86_64

发生此错误

但是

[postgres@m rpm]$ locate libpq.so.5
/home/postgres/postgresql-10.4/src/interfaces/libpq/libpq.so.5
/home/postgres/postgresql-10.4/src/interfaces/libpq/libpq.so.5.10
/usr/local/pgsql/lib/libpq.so.5
/usr/local/pgsql/lib/libpq.so.5.10

我该如何解决这个问题?

最诚挚的问候谢谢

最佳答案

postgresql-lib 丢失了

[root@t9psql03 rpmadd]# rpm -qa | grep postgresql-libs
[root@t9psql03 rpmadd]# yum install postgresql-libs

然后解决

[root@t9psql03 PostgreSQL10]# rpm -ivh pg_statsinfo-10.0-1.pg10.rhel7.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:pg_statsinfo-10.0-1.pg10.rhel7 ################################# [100%]

关于linux - pg_statsinfo-10.0-1.pg10.rhel7.x86_64 需要错误 : Failed dependencies: libpq. so.5()(64bit),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52285827/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com