Hi,
Can you advise on the error below? Thanks!
exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:
0509-130 Symbol resolution failed for /opt/freeware/lib/libbz2.a(libbz2.so.1) because:
0509-136 Symbol _GLOBAL__AIXI_shr_o (number 2) is not exported from
dependent module /opt/freeware/lib/libgcc_s.a(shr.o).
0509-136 Symbol _GLOBAL__AIXD_shr_o (number 3) is not exported from
dependent module /opt/freeware/lib/libgcc_s.a(shr.o).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
Our installation script could no longer use command rpm after installing bzip2-1.0.8-2 and removing bzip2-1.0.6-1. The script aims to install python3 with the --nodeps, but would actually attempt to install all python3 dependecies modules prior to installing python3.
Relevant excerpt of install logs:
2020-10-08 14:31:57: Versions of the following packages tagged as dependency error before python 3 installation:
AIX-rpm-7.2.3.15-2.ppc
libgcc-4.8.5-1.ppc
2020-10-08 14:31:57: Ignoring known dependency error. Installing Python 3 using --nodeps ...
Preparing... ########################################
package zlib-1.2.11-1.ppc is already installed
package libffi-20170516-1.ppc (which is newer than libffi-3.2.1-3.ppc) is already installed
Installing bzip2
Preparing... ########################################
Updating / installing...
bzip2-1.0.8-2 ########################################
Cleaning up / removing...
bzip2-1.0.6-1 ########################################
exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:
0509-130 Symbol resolution failed for /opt/freeware/lib/libbz2.a(libbz2.so.1) because:
0509-136 Symbol _GLOBAL__AIXI_shr_o (number 2) is not exported from
dependent module /opt/freeware/lib/libgcc_s.a(shr.o).
0509-136 Symbol _GLOBAL__AIXD_shr_o (number 3) is not exported from
dependent module /opt/freeware/lib/libgcc_s.a(shr.o).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
rpm_share: 0645-007 ATTENTION: get_rpm_inst_root_list() returned an unexpected result.
rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.
Installing expat
exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:
0509-130 Symbol resolution failed for /opt/freeware/lib/libbz2.a(libbz2.so.1) because:
0509-136 Symbol _GLOBAL__AIXI_shr_o (number 2) is not exported from
dependent module /opt/freeware/lib/libgcc_s.a(shr.o).
0509-136 Symbol _GLOBAL__AIXD_shr_o (number 3) is not exported from
dependent module /opt/freeware/lib/libgcc_s.a(shr.o).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
------------------------------
Ivan Castro
------------------------------