Hi Ajay,
If your machine serial number is entitled to it and you have access to IBM Entitled Systems Support, you can download the AIX Toolbox for Linux media so you get all the filesets you need, including prerequisites, for your machine. Check https://www.ibm.com/servers/eserver/ess/landing/landing-page and see if your machine's serial number has entitlements to the Toolbox. That way, you don't have to go hunting around for each and every file set required by sudo.
You can also submit your question to the AIX Open Source topic group, as this is the AIX topic group where you are asking this question. Hope this helps!
------------------------------
Carlo Castillo
Client Services Manager
IBM Redbooks Gold Author
------------------------------
Original Message:
Sent: Fri June 27, 2025 09:58 AM
From: AJAY KUMAR
Subject: Too many dependencies for sudo installation on AIX 7.2
I am trying to install sudo on AIX 7.2, getting below error asking for other rpm to be installed first ..
# rpm -ivh sudo-1.9.16p2-1.aix7.1.ppc.rpm
warning: sudo-1.9.16p2-1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
error: Failed dependencies:
gettext >= 0.21 is needed by sudo-1.9.16p2-1.ppc
liblber.a(liblber-2.5.so.0) is needed by sudo-1.9.16p2-1.ppc
libldap.a(libldap-2.5.so.0) is needed by sudo-1.9.16p2-1.ppc
openldap >= 2.5.16 is needed by sudo-1.9.16p2-1.ppc
zlib >= 1.2.13 is needed by sudo-1.9.16p2-1.ppc
Tried to fix these dependencies, but no use - each package asks for more things to be fixed first ..
# rpm -ivh gettext-0.21-2.aix7.1.ppc.rpm
error: Failed dependencies:
libgomp >= 8.3.0 is needed by gettext-0.21-2.ppc
libgomp.a(libgomp.so.1) is needed by gettext-0.21-2.ppc
libiconv >= 1.16 is needed by gettext-0.21-2.ppc
libtextstyle = 0.21-2 is needed by gettext-0.21-2.ppc
libtextstyle.a(libtextstyle.so.0) is needed by gettext-0.21-2.ppc
Seems like a never ending process, Is there a complete package available for sudo ?
Thanks
Ajay Kumar
------------------------------
AJAY KUMAR
------------------------------