需要在AIX7.1上安装curl,在AIX Toolbox 中下载curl-8.1.2-1.aix7.1.ppc.rpm,
安装时报错:
rpm -ivh curl-8.1.2-1.aix7.1.ppc.rpm
error: failed dependencies:
ca-certificates >= 2021.2.52 is needed by curl-8.1.2-1
krb5-libs >= 1.18.5 is needed by curl-8.1.2-1
libcom_err.a(libcom_err.so) is needed by curl-8.1.2-1
libcrypto.a(libcrypto.so.1.1) is needed by curl-8.1.2-1
libgcc >= 10.3.0 is needed by curl-8.1.2-1
libgcc_s.a(shr.o) is needed by curl-8.1.2-1
libgssapi_krb5.a(libgssapi_krb5.so) is needed by curl-8.1.2-1
libk5crypto.a(libk5crypto.so) is needed by curl-8.1.2-1
libkrb5.a(libkrb5.so) is needed by curl-8.1.2-1
liblber.a(liblber-2.5.so.0) is needed by curl-8.1.2-1
libldap.a(libldap-2.5.so.0) is needed by curl-8.1.2-1
libnghttp2 >= 1.46.0 is needed by curl-8.1.2-1
libnghttp2.a(libnghttp2.so.14) is needed by curl-8.1.2-1
libssh2 >= 1.10.0 is needed by curl-8.1.2-1
libssh2.a(libssh2.so.1) is needed by curl-8.1.2-1
libssl.a(libssl.so.1.1) is needed by curl-8.1.2-1
openldap >= 2.5.12 is needed by curl-8.1.2-1
rpmlib(FileDigests) <= 4.6.0-1 is needed by curl-8.1.2-1
zlib >= 1.2.13 is needed by curl-8.1.2-1
请教问题出在哪里?谢谢
这个错误提示表明在安装curl时,缺少了一些依赖包,需要先安装这些依赖包才能成功安装curl。
可以尝试使用以下命令安装缺少的依赖包:
yum install ca-certificates krb5-libs libcom_err libcrypto libgcc libgcc_s libgssapi_krb5 libk5crypto libkrb5 liblber libldap libnghttp2 libssh2 libssl openldap zlib
如果提示yum命令不存在,可以先安装yum:
rpm -ivh http://ftp.riken.jp/Linux/fedora/epel/7/ppc64le/Packages/e/epel-release-7-13.noarch.rpm
yum install yum
安装完依赖包后,再次尝试安装curl:
rpm -ivh curl-8.1.2-1.aix7.1.ppc.rpm
如果还有其他依赖问题,可以根据提示继续安装缺少的依赖包。