The following is an example of an installation failure due to a missing file.
#dnf install iperf3
Error: Problem: cannot install the best candidate for the job
- nothing provides libsctp.a(shr.o) needed by iperf3-3.10.1-1.ppc
- nothing provides libsctp.a(shr_64.o) needed by iperf3-3.10.1-1.ppc
1) Question: Is libsctp.a from the AIX Toolbox?
Answer: No. When AIX Toolbox packages are missing Toolbox packages, you will see version requirements listed.
# rpm -ivh curl-7.79.1-1.aix6.1.ppc.rpm
error: Failed dependencies:
ca-certificates >= 2020.06.01 is needed by curl-7.79.1-1.ppc
krb5-libs >= 1.18.3 is needed by curl-7.79.1-1.ppc
^^^^
--> libcom_err.a(libcom_err.so) is needed by curl-7.79.1-1.ppc
libgcc >= 8.3.0 is needed by curl-7.79.1-1.ppc
^^^^
--> libgcc_s.a(shr.o) is needed by curl-7.79.1-1.ppc
2) Question: How can I resolve this dependency?
Answer: The example libsctp.a library is provided by the AIX bos.net.sctp file set. This file set is part of the bos.net package. This is available on AIX base media.
After installing an AIX file set, you will need to run /usr/sbin/updtvpkg to update the AIX-rpm virtual package, so rpm will know about the library. If the file set is already installed, run /usr/sbin/updtvpkg again.
3) Question: How can I validate the dependency?
Answer: After the AIX-rpm package is updated with updtvpkg, you can list the library with the rpm command:
# rpm -q AIX-rpm --provides | grep libsctp.a
libsctp.a(shr.o)
libsctp.a(shr_64.o)