即使在安装了相关的软件包nss-3.44.0-4.el7.x86_64.rpm之后,我也无法在CentOS 8中找到libnss3.so文件(64位版本)。
我只能在/usr/lib/中找到32位版本,而在/usr/lib 64/中找不到64位版本。
我已经尝试返回到CentOS 7,并验证libnss3.so位于/usr/lib64 64中,并且确定该文件存在于CentOs 7中的/usr/lib64 64中。
64位libnss3.so 3在CentOs 8中在哪里?
任何指点/建议/洞察力都将不胜感激。
更新我刚刚完成了CentOS 8的新安装,但在/usr/lib64 64/中仍然没有libnss3.so。
[test@centos-s-1vcpu-1gb-fra1-01 lib64]#sudo cat /etc/*release*
CentOS Linux release 8.1.1911 (Core)
Derived from Red Hat Enterprise Linux 8.1 (Source)
NAME="CentOS Linux"
VERSION="8 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="8"CentOS Linux发行版8.1.1911 (核心) CentOS Linux发行版8.1.1911 (核心)cpe:/o:centos:8
[test@centos-s-1vcpu-1gb-fra1-01 lib64]#sudo ls libnss
libnssckbi.so libnss_compat.so.2 libnss_dns.so.2 libnss_files.so.2 libnss_resolve.so.2 libnss_systemd.so.2
libnss_compat-2.28.so libnss_dns-2.28.so libnss_files-2.28.so libnss_myhostname.so.2 libnss_sss.so.2 另外,在做了更多的调查之后,似乎CentOS 8中的yum只提供libnss3.so的i686版本(32位)
[test@centos-s-1vcpu-1gb-fra1-01 lib64]#sudo yum whatprovides libnss3.so
Last metadata expiration check: 0:30:41 ago on Fri 27 Mar 2020 13:38:16 UTC.
nss-3.44.0-8.el8.i686 : Network Security Services
Repo : AppStream
Matched from:
Provide : libnss3.so
nss-3.44.0-9.el8_1.i686 : Network Security Services
Repo : AppStream
Matched from:
Provide : libnss3.so我可以手动安装libnss3.so 64位吗?
发布于 2020-03-27 14:41:34
我已经想出了如何安装64位版本。虽然我仍然不明白为什么这样做的机制。如果有人知道,请告诉我,我很想知道为什么这样做。
当安装libnss3时,64位版本只在我使用dnf时安装,当我使用yum时,它只安装32位版本。当我试图手动下载包二进制文件以自己解压缩时,我通过在线搜索就知道了这一点(参见centos.pkgs.org)。
我只是不明白为什么dnf安装64位版本而yum安装32位版本?这里的任何见解都将是非常感谢的。无论如何,都要感谢所有给他们投入的人。
https://unix.stackexchange.com/questions/575175
复制相似问题