AIX Open Source

 View Only

 Dependency Error Installing libffi-3.4.4-2 on AIX 7.2 TL5 SP9

Shinya Hashinoki's profile image
Shinya Hashinoki posted Tue May 13, 2025 06:17 AM

Hello, I have a question my team would like to ask this community.

Background: We are planning to install bzip2, bzip2-devel, unzip, and zip from the AIX Toolbox on an AIX 7.2 TL5 SP9 server. As prerequisites, We are following the installation order for the following packages:

  • gettext-0.21-2
  • libgcc10-10.3.0-6
  • libffi-3.4.4-2
  • glib2-2.81.0-1
  • libiconv-1.17-1
  • bash-5.2.21-1

Current Situation: When attempting to install libffi-3.4.4-2 using the following command, we encountered a dependency error and was unable to proceed with the installation. Below is an excerpt from the log showing the error:

# rpm -qa
gettext-0.21-2.ppc
AIX-rpm-7.2.5.208-3.ppc
libgcc10-10.3.0-6.ppc
#

# rpm -qpR ./RPMS/ppc/libffi-3.4.4-2.aix7.1.ppc.rpm
libc.a(shr.o)
libc.a(shr_64.o)
libgcc >= 10.3.0
libgcc_s.a(shr.o)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
#

# rpm -ivh ./RPMS/ppc/libffi-3.4.4-2.aix7.1.ppc.rpm
error: Failed dependencies:
libgcc >= 10.3.0 is needed by libffi-3.4.4-2.ppc
#

Question: It appears that libgcc version 10.3.0 is already installed, so we are unsure why this dependency error is occurring. If anyone has any insights or suggestions on how to resolve this issue, we would greatly appreciate your assistance.

Thank you!

Shinya Hashinoki's profile image
Shinya Hashinoki

This issue has been resolved.

The cause was as follows:

Although libgcc10-10.3.0-6.ppc was installed in the target environment, libgcc-10-2.ppc was not.
By installing libgcc-10-2.ppc, it became possible to install libffi-3.4.4-2.ppc.