如何解决postgresql 10 安装 - 无法找到依赖项
安装 postgresql 10 服务器失败,出现以下错误:
[root@apd-appsvr softwares]# rpm -ivh postgresql10-server-10.10-1PGDG.rhel8.x86_64.rpm
warning: postgresql10-server-10.10-1PGDG.rhel8.x86_64.rpm: Header V4 DSA/SHA1 Signature,key ID 442df0f8: NOKEY
error: Failed dependencies:
libicui18n.so.60()(64bit) is needed by postgresql10-server-10.10-1PGDG.rhel8.x86_64
libicuuc.so.60()(64bit) is needed by postgresql10-server-10.10-1PGDG.rhel8.x86_64
postgresql10(x86-64) = 10.10-1PGDG.rhel8 is needed by postgresql10-server-10.10-1PGDG.rhel8.x86_64
postgresql10-libs(x86-64) = 10.10-1PGDG.rhel8 is needed by postgresql10-server-10.10-1PGDG.rhel8.x86_64
但是,这些文件存在于各自的位置:
[root@apd-appsvr softwares]# ls -ltr /usr/lib/libicui18n.so.60
lrwxrwxrwx 1 root root 18 Mar 21 2020 /usr/lib/libicui18n.so.60 -> libicui18n.so.60.3
[root@apd-appsvr softwares]# ls -ltr /usr/lib64/libicui18n.so.60
lrwxrwxrwx 1 root root 18 Feb 24 01:40 /usr/lib64/libicui18n.so.60 -> libicui18n.so.60.3
我尝试将 LD_LIBRARY_PATH 设置为 /usr/lib/
和 /usr/lib64/
,但由于某种原因无法找到这些文件。
服务器信息:
[root@apd-appsvr softwares]# cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)
[root@apd-appsvr softwares]# uname -a
Linux xyz 4.18.0-193.6.3.el8_2.x86_64 #1 SMP Wed Jun 10 11:09:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
请告诉我如何解决这个问题
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。