Actually everything ends up in a complete mess: I've reinstalled the lua package, next error message was reagrding python - after having reinstalled python as well I am now at this point:
root@gxpnim02:/ltb/RPMS/ppc >yum search all
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
0509-150 Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so) could not be loaded.
0509-152 Member libcrypto.so is not found in archive
0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
0509-150 Dependent module /opt/freeware/lib/python2.7/site-packages/pycurl.so could not be loaded.
Please install a package which provides this module, or
verify that the module is installed correctly.
Output of rpm -qa:
>rpm -qa
bash-doc-3.2-8.ppc
freetype2-2.3.9-1.ppc
libart_lgpl-2.3.21-1.ppc
openssl-0.9.7d-2.ppc
pci.df1000fd-0002-271304-1.noarch
rsync-64bit-3.0.6-1.ppc
xcursor-1.1.7-3.ppc
tk-8.4.7-3.ppc
pcre-8.33-1.ppc
lpar2rrd-agent-6.10-0.ppc
ca-certificates-2020.06.01-1.ppc
pysqlite-1.1.7-2.ppc
yum-3.4.3-8.noarch
xz-libs-5.2.5-1.ppc
libffi-3.2.1-3.ppc
libtextstyle-0.20.2-1.ppc
info-6.6-2.ppc
createrepo-0.10.3-3.noarch
bash-4.3-12.ppc
gtk2-2.10.6-3.ppc
libtiff-3.8.2-1.ppc
pci.df1000fa-1-191A5.noarch
rrdtool-1.2.30-5.ppc
wget-1.9-2.ppc
tcl-8.4.7-3.ppc
pci.1014034a.51-18518200-1.noarch
netsnmp-5.7.3-1.1.ppc
libnghttp2-1.41.0-1.ppc
yum-metadata-parser-1.1.4-2.ppc
python-urlgrabber-3.10.1-1.noarch
libgcc-8-1.ppc
ncurses-6.2-2.ppc
libgomp-8-1.ppc
libunistring-0.9.10-1.ppc
readline-8.0-2.ppc
bzip2-1.0.8-2.ppc
python-deltarpm-3.6-1.ppc
sqlite-3.32.3-1.ppc
python-2.7.18-1.ppc
atk-1.12.3-2.ppc
cairo-1.8.6-3.ppc
ibm.scsi.disk.CH15K5-C80F-1.noarch
libpng-1.2.32-2.ppc
pci.14101103-CN0120-1.noarch
popt-1.14-1.ppc
unzip-64bit-6.0-3.ppc
zip-3.0-2.ppc
openldap-2.4.40-1.ppc
httpd-2.4.18-1.ppc
jq-1.5-1.ppc
zlib-1.2.11-1.ppc
python-pycurl-7.19.3-1.ppc
libgcc8-8.3.0-4.ppc
libstdc++-8-1.ppc
libgomp8-8.3.0-4.ppc
libxml2-2.9.10-1.ppc
gettext-0.20.2-1.ppc
xz-5.2.5-1.ppc
deltarpm-3.6-1.ppc
python-tools-2.7.18-1.ppc
fontconfig-2.4.2-1.ppc
libjpeg-6b-6.ppc
pango-1.14.5-3.ppc
pixman-0.12.0-3.ppc
screen-4.0.3-1.ppc
xft-2.1.6-5.ppc
expect-5.42.1-3.ppc
db-4.8.24-3.ppc
mod_ssl-2.4.18-1.ppc
wazuh-agent-4.1.0-1.ppc
libssh2-1.9.0-1.ppc
python-iniparse-0.4-1.noarch
curl-7.52.1-1.ppc
libstdc++8-8.3.0-4.ppc
expat-2.2.9-2.ppc
libiconv-1.16-1.ppc
glib2-2.56.1-2.ppc
gdbm-1.18.1-1.ppc
libxml2-python-2.9.10-1.ppc
python-devel-2.7.18-1.ppc
lua-5.3.4-2.ppc
AIX-rpm-7.2.3.15-14.ppc
------------------------------
Fiducia und GAD IT AG AIX-Admins
------------------------------
Original Message:
Sent: Wed March 17, 2021 07:17 AM
From: SANGAMESH MALLAYYA
Subject: Re: Symbol _GLOBAL__AIXD_libsqlite3_so error after applying AIX 7100-05-06-2016
You might also need to reinstall the Lua with the latest version.
Could you please paste the output of "rpm -qa" ?
------------------------------
SANGAMESH
Original Message:
Sent: Wed March 17, 2021 06:26 AM
From: Fiducia und GAD IT AG AIX-Admins
Subject: Re: Symbol _GLOBAL__AIXD_libsqlite3_so error after applying AIX 7100-05-06-2016
root@gxpnim02:/ltb/RPMS/ppc >rpm -qa|grep -i sql
pysqlite-1.1.7-2.ppc
sqlite-3.15.2-1.ppc
root@gxpnim02:/ltb/RPMS/ppc >ls sqlit*
sqlite-3.32.3-1.aix6.1.ppc.rpm sqlite-devel-3.32.3-1.aix6.1.ppc.rpm sqlite-doc-3.32.3-1.aix6.1.ppc.rpm
root@gxpnim02:/ltb/RPMS/ppc >rpm -Uhv sqlite-3.32.3-1.aix6.1.ppc.rpm
Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing...
1:sqlite-3.32.3-1 ################################# [ 50%]
Cleaning up / removing...
2:sqlite-3.15.2-1 ################################# [100%]
root@gxpnim02:/ltb/RPMS/ppc >yum search all
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
0509-022 Cannot load module /usr/opt/rpm/lib/librpm.so.
0509-150 Dependent module /opt/freeware/lib/liblua.a(liblua-5.3.so) could not be loaded.
0509-152 Member liblua-5.3.so is not found in archive
0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/rpm/_rpm.so.
0509-150 Dependent module /usr/opt/rpm/lib/librpm.so could not be loaded.
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.7.18 (default, May 4 2020, 03:46:51)
[GCC 8.3.0]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
Actually I've removed sqlite before, than reinstalled 3.15 - that did not fix the issue (same behavior as before). I have now tried to upgrade (as above) and now the next package seems to be in error
------------------------------
Frank
Original Message:
Sent: Wed March 17, 2021 05:56 AM
From: SANGAMESH MALLAYYA
Subject: Re: Symbol _GLOBAL__AIXD_libsqlite3_so error after applying AIX 7100-05-06-2016
Please reinstall the sqlite rpm package and let us know if it works.
------------------------------
SANGAMESH
Original Message:
Sent: Wed March 17, 2021 04:59 AM
From: Fiducia und GAD IT AG AIX-Admins
Subject: Re: Symbol _GLOBAL__AIXD_libsqlite3_so error after applying AIX 7100-05-06-2016
Hi, are there any news to this subject?
Today I finally got yum running on AIX 7.2 Tl3 SP3 with latest rpm.rte - after I installed some additional packages using yum, yum updated some of the existing ones which ended up in breaking up yum itself. Actually it is paython2 which is now broken but which is used by yum:
>python
exec(): 0509-036 Cannot load program python because of the following errors:
0509-130 Symbol resolution failed for /opt/freeware/lib/libpython2.7.so because:
0509-136 Symbol _GLOBAL__AIXI_libsqlite3_so (number 219) is not exported from
dependent module /usr/opt/rpm/lib/libsqlite3.so.
0509-136 Symbol _GLOBAL__AIXD_libsqlite3_so (number 220) is not exported from
dependent module /usr/opt/rpm/lib/libsqlite3.so.
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
Any reinstallation, downgrading or wahtever of the sqlite package could not solve this issue.
Current version of RPM is 4.15.1.1
Best,
Frank
Original Message:
Sent: Thu May 21, 2020 01:45 AM
From: Archive User
Subject: Re: Symbol _GLOBAL__AIXD_libsqlite3_so error after applying AIX 7100-05-06-2016
Originally posted by: sangameshm
Hi Kristian,
Could you please provide the complete output of yum update ?
The version of rpm.rte in 7100-05-05-1939 & also in 7100-05-06-2016 is 4.13.0.3. Not sure how you have got the version 4.13.0.11 installed after AIX update.
The one possibility where the python2 could fails is that after SP update it would have updated rpm.rte to 4.13.0.3 which would overwrite the libsqlite installed by an sqlite rpm package.
Please provide the output of "sum /opt/freeware/lib/libsqlite3.so"
As we have fixed this overwrite issue from rpm.rte-4.13.0.4, this kind of issues won't be seen if user installed rpm.rte higher than 4.13.0.3 through YUM or other way in 7.1 TL5.
Workaround solution in case is to reinstall sqlite and may be other library rpm.rte-4.13.0.3 is overwriting.
Thanks,
Sangamesh