Ah, the joy of rpm dependencies
if you have YUM or DNF, that may save you some time.
Download those dependencies from your favorite repository.
I'd recommend starting with ibm-toolbox, they've put in some effort to get everything updated.
load all that you need into a single directory, and run rpm -ivh *
then rinse and repeat with new dependencies that pop up
------------------------------
Tom McGivern
------------------------------
Original Message:
Sent: Tue July 26, 2022 04:05 PM
From: Avaya Kumar Mohanty
Subject: Re: BASH XML Parser compatible with AIX 7.2
HI
I tried to install libxml2 but getting dependency error .
# rpm -ivh libxml2-2.9.14-1.aix6.1.ppc.rpm
error: Failed dependencies:
libgcc >= 8.3.0 is needed by libxml2-2.9.14-1.ppc
libiconv >= 1.16 is needed by libxml2-2.9.14-1.ppc
libiconv.a(libiconv.so.2) is needed by libxml2-2.9.14-1.ppc
liblzma.a(liblzma.so.5) is needed by libxml2-2.9.14-1.ppc
xz-libs >= 5.2.4 is needed by libxml2-2.9.14-1.ppc
#
------------------------------
Avaya Kumar Mohanty
Original Message:
Sent: Sat October 27, 2018 03:48 AM
From: Archive User
Subject: Re: BASH XML Parser compatible with AIX 7.2
Originally posted by: sangameshm
You can use xmllint from the libxml2 rpm package.
You can download and install libxml2 rpm package from the AIX Toolbox https://www.ibm.com/developerworks/aix/library/aix-toolbox/alpha.html#L
Lots of resources available in google on how to use xmllint in bash. https://stackoverflow.com/questions/43870622/bash-extract-xml-attribute-value-using-xmllint
Thanks,
Sangamesh