Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  libgcc_s.a error after updating aixtoolbox

    Posted Fri April 08, 2022 09:12 PM
    I downloaded the AIX toolbox on 2022-01-19 and have been testing the upgrade process on a number of servers at different release levels.  I found a problem with the upgrade on a server running 7200-05-03-2148.  I'm testing on restored mksysb images of the servers so I can revert and retry easily.  This will be a lot but I'll post all the output from running dnf_aixtoolbox -y and yum update.

    After updating, I found sudo no longer works.  It seems likely other tools also fail.  First the error from sudo:

    $ sudo -l
    exec(): 0509-036 Cannot load program sudo because of the following errors:
    0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.8).
    0509-150 Dependent module libgcc_s.a(shr.o) could not be loaded.
    0509-022 Cannot load module libgcc_s.a(shr.o).
    0509-026 System error: A file or directory in the path name does not exist.
    0509-022 Cannot load module sudo_32.
    0509-150 Dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded.

    Now, all the output from the update process:

    # /mnt/aixtoolbox/latest/aix/freeSoftware/aixtoolbox/ezinstall/ppc/dnf_aixtoolbox.sh -y
    Attempting download of dnf_bundle_aix_71_72.tar ...
    Saving to 'dnf_bundle_aix_71_72.tar'...
    168 MB received in 2 seconds (83.9 MB/sec)

    Extracting dnf_bundle_aix_71_72.tar ...
    x ca-certificates-2020.06.01-0.aix7.1.ppc.rpm, 952182 bytes, 1860 tape blocks
    x dnf-4.2.17-32_1.aix7.1.noarch.rpm, 11676 bytes, 23 tape blocks
    x dnf-automatic-4.2.17-32_1.aix7.1.noarch.rpm, 13016 bytes, 26 tape blocks
    x dnf-data-4.2.17-32_1.aix7.1.noarch.rpm, 24151 bytes, 48 tape blocks
    x extra_list, 218 bytes, 1 tape blocks
    x install_dnf.sh, 11065 bytes, 22 tape blocks
    x libcomps-0.1.11-32_1.aix7.1.ppc.rpm, 1273338 bytes, 2487 tape blocks
    x libdnf-0.39.1-32_1.aix7.1.ppc.rpm, 15810379 bytes, 30880 tape blocks
    x libmodulemd-1.5.2-32_1.aix7.1.ppc.rpm, 3419904 bytes, 6680 tape blocks
    x librepo-1.11.0-32_1.aix7.1.ppc.rpm, 3650338 bytes, 7130 tape blocks
    x libsmartcols-2.34-32_1.aix7.1.ppc.rpm, 183412 bytes, 359 tape blocks
    x libsolv-0.7.9-32_1.aix7.1.ppc.rpm, 1533403 bytes, 2995 tape blocks
    x libzstd-1.4.4-32_1.aix7.1.ppc.rpm, 469194 bytes, 917 tape blocks
    x p11-kit-0.23.16-0.aix7.1.ppc.rpm, 1047702 bytes, 2047 tape blocks
    x p11-kit-tools-0.23.16-0.aix7.1.ppc.rpm, 39777 bytes, 78 tape blocks
    x python3-3.7.9-0.aix7.1.ppc.rpm, 43168080 bytes, 84313 tape blocks
    x python3-dateutil-2.8.0-1.aix6.1.noarch.rpm, 363137 bytes, 710 tape blocks
    x python3-devel-3.7.9-0.aix7.1.ppc.rpm, 237244 bytes, 464 tape blocks
    x python3-dnf-4.2.17-32_1.aix7.1.noarch.rpm, 197935 bytes, 387 tape blocks
    x python3-dnf-plugin-migrate-4.0.16-32_1.aix7.1.noarch.rpm, 8546 bytes, 17 tape blocks
    x python3-dnf-plugins-core-4.0.16-32_1.aix7.1.noarch.rpm, 49763 bytes, 98 tape blocks
    x python3-docs-3.7.9-0.aix7.1.ppc.rpm, 2993180 bytes, 5847 tape blocks
    x python3-gpgme-1.13.1-32_1.aix7.1.ppc.rpm, 682308 bytes, 1333 tape blocks
    x python3-hawkey-0.39.1-32_1.aix7.1.ppc.rpm, 3113691 bytes, 6082 tape blocks
    x python3-libcomps-0.1.11-32_1.aix7.1.ppc.rpm, 1020925 bytes, 1994 tape blocks
    x python3-libdnf-0.39.1-32_1.aix7.1.ppc.rpm, 22549730 bytes, 44043 tape blocks
    x python3-librepo-1.11.0-32_1.aix7.1.ppc.rpm, 2292962 bytes, 4479 tape blocks
    x python3-six-1.13.0-1.aix6.1.noarch.rpm, 514483 bytes, 1005 tape blocks
    x python3-test-3.7.9-0.aix7.1.ppc.rpm, 28383122 bytes, 55436 tape blocks
    x python3-tools-3.7.9-0.aix7.1.ppc.rpm, 12734 bytes, 25 tape blocks
    x rpm-python3-4.15.1-32_1.aix7.1.ppc.rpm, 100168 bytes, 196 tape blocks
    x rpm.rte, 40620032 bytes, 79336 tape blocks
    x yum-4.2.17-32_1.aix7.1.noarch.rpm, 9188 bytes, 18 tape blocks
    x zchunk-1.1.4-32_1.aix7.1.ppc.rpm, 552363 bytes, 1079 tape blocks
    x zchunk-devel-1.1.4-32_1.aix7.1.ppc.rpm, 19487 bytes, 39 tape blocks
    x zchunk-libs-1.1.4-32_1.aix7.1.ppc.rpm, 534328 bytes, 1044 tape blocks

    Installing rpm.rte at the latest version ...
    This may take several minutes depending on the number of rpms installed...
    +-----------------------------------------------------------------------------+
    Pre-installation Verification...
    +-----------------------------------------------------------------------------+
    Verifying selections...done
    Verifying requisites...done
    Results...

    WARNINGS
    --------
    Problems described in this section are not likely to be the source of any
    immediate or serious failures, but further actions may be necessary or
    desired.

    Already Installed
    -----------------
    The number of selected filesets that are either already installed
    or effectively installed through superseding filesets is 1. See
    the summaries at the end of this installation for details.

    NOTE: Base level filesets may be reinstalled using the "Force"
    option (-F flag), or they may be removed, using the deinstall or
    "Remove Software Products" facility (-u flag), and then reinstalled.

    << End of Warning Section >>

    +-----------------------------------------------------------------------------+
    BUILDDATE Verification ...
    +-----------------------------------------------------------------------------+
    Verifying build dates...done
    FILESET STATISTICS
    ------------------
    1 Selected to be installed, of which:
    1 Already installed (directly or via superseding filesets)
    ----
    0 Total to be installed


    Pre-installation Failure/Warning Summary
    ----------------------------------------
    Name Level Pre-installation Failure/Warning
    -------------------------------------------------------------------------------
    rpm.rte 4.15.1.3 Already installed



    Checking whether any of the rpms from dnf_bundle are already installed...
    Takes couple of minutes to process.

    Skipping ca-certificates-2020.06.01-0 as higher version ca-certificates-2020.06.01-1.ppc is installed.
    dnf-4.2.17-32_1 will be installed
    dnf-automatic-4.2.17-32_1 will be installed
    dnf-data-4.2.17-32_1 will be installed
    libcomps-0.1.11-32_1 will be installed
    libdnf-0.39.1-32_1 will be installed
    libmodulemd-1.5.2-32_1 will be installed
    librepo-1.11.0-32_1 will be installed
    libsmartcols-2.34-32_1 will be installed
    libsolv-0.7.9-32_1 will be installed
    libzstd-1.4.4-32_1 will be installed
    Skipping p11-kit-0.23.16-0 as higher version p11-kit-0.23.16-1.ppc is installed.
    Skipping p11-kit-tools-0.23.16-0 as higher version p11-kit-tools-0.23.16-1.ppc is installed.
    Skipping python3-3.7.9-0 as higher version python3-3.7.9-1.ppc is installed.
    python3-dateutil-2.8.0-1 will be installed
    python3-dnf-4.2.17-32_1 will be installed
    python3-dnf-plugin-migrate-4.0.16-32_1 will be installed
    python3-dnf-plugins-core-4.0.16-32_1 will be installed
    python3-gpgme-1.13.1-32_1 will be installed
    python3-hawkey-0.39.1-32_1 will be installed
    python3-libcomps-0.1.11-32_1 will be installed
    python3-libdnf-0.39.1-32_1 will be installed
    python3-librepo-1.11.0-32_1 will be installed
    python3-six-1.13.0-1 will be installed
    rpm-python3-4.15.1-32_1 will be installed
    yum-3.4.3-8.noarch will be updated to yum-4.2.17-32_1
    zchunk-libs-1.1.4-32_1 will be installed

    Installing the packages...

    Verifying... ################################# [100%]
    Preparing... ################################# [100%]
    Updating / installing...
    1:libzstd-1.4.4-32_1 ################################# [ 4%]
    2:libmodulemd-1.5.2-32_1 ################################# [ 8%]
    3:libsolv-0.7.9-32_1 ################################# [ 13%]
    4:libsmartcols-2.34-32_1 ################################# [ 17%]
    5:zchunk-libs-1.1.4-32_1 ################################# [ 21%]
    6:librepo-1.11.0-32_1 ################################# [ 25%]
    7:rpm-python3-4.15.1-32_1 ################################# [ 29%]
    8:libdnf-0.39.1-32_1 ################################# [ 33%]
    9:python3-libdnf-0.39.1-32_1 ################################# [ 38%]
    10:python3-hawkey-0.39.1-32_1 ################################# [ 42%]
    11:dnf-data-4.2.17-32_1 ################################# [ 46%]
    12:python3-six-1.13.0-1 ################################# [ 50%]
    13:python3-dateutil-2.8.0-1 ################################# [ 54%]
    14:python3-gpgme-1.13.1-32_1 ################################# [ 58%]
    15:libcomps-0.1.11-32_1 ################################# [ 63%]
    16:python3-libcomps-0.1.11-32_1 ################################# [ 67%]
    17:python3-dnf-4.2.17-32_1 ################################# [ 71%]
    18:dnf-4.2.17-32_1 ################################# [ 75%]
    19:python3-dnf-plugins-core-4.0.16-3################################# [ 79%]
    20:python3-dnf-plugin-migrate-4.0.16################################# [ 83%]
    21:dnf-automatic-4.2.17-32_1 ################################# [ 88%]

    This version of yum4 is a soft link to dnf and all the yum commands are dnf commands.
    Repositories present in yum.conf is being used for dnf.


    Trying to create pkg_yumdb database required for migrate plugin
    Successfully created pkg_yumdb database
    22:yum-4.2.17-32_1 ################################# [ 92%]
    23:python3-librepo-1.11.0-32_1 ################################# [ 96%]
    Cleaning up / removing...
    24:yum-3.4.3-8 warning: /opt/freeware/etc/yum/yum.conf saved as /opt/freeware/etc/yum/yum.conf.rpmsave
    ################################# [100%]

    dnf installed successfully.
    Please run 'dnf update' to update packages to the latest level.

    Please note, RPM packages are downloaded in dnf cache /var/cache/dnf.
    RPM packages install files go under the path /opt.
    Hence it is recommended to always keep at least 512MB of free space in /var & /opt
    to avoid any download and installation/update failures.

    Trying to run 'dnf migrate' to migrate yum database to dnf.
    AIX generic repository - local 2022-01-19 60 MB/s | 1.2 MB 00:00
    AIX ppc repository - local 2022-01-19 77 MB/s | 6.0 MB 00:00
    AIX 7.2 repository - local 2022-01-19 51 MB/s | 1.1 MB 00:00

    Migrating history data...
    [root@vx-icmc2: /root]
    # yum update -y

    Last metadata expiration check: 0:00:47 ago on Fri Apr 8 15:27:06 CDT 2022.
    Dependencies resolved.
    ======================================================================================================================================================================
    Package Architecture Version Repository Size
    ======================================================================================================================================================================
    Upgrading:
    bash ppc 5.1.4-2 AIX_Toolbox_ppc_local_2021-02-08 2.8 M
    ca-certificates ppc 2020.06.01-2 AIX_Toolbox_ppc_local_2021-02-08 925 k
    curl ppc 7.79.1-1 AIX_Toolbox_ppc_local_2021-02-08 1.6 M
    cyrus-sasl ppc 2.1.26-5 AIX_Toolbox_ppc_local_2021-02-08 919 k
    db ppc 1:5.3.28-1 AIX_Toolbox_ppc_local_2021-02-08 17 M
    gdbm ppc 1.19-1 AIX_Toolbox_ppc_local_2021-02-08 274 k
    git ppc 2.31.1-1 AIX_Toolbox_ppc_local_2021-02-08 3.4 M
    glib2 ppc 2.56.1-3 AIX_Toolbox_ppc_local_2021-02-08 16 M
    krb5-libs ppc 1.18.3-1 AIX_Toolbox_ppc_local_2021-02-08 11 M
    libxml2 ppc 2.9.11-1 AIX_Toolbox_ppc_local_2021-02-08 5.5 M
    ncftp ppc 3.2.6-2 AIX_Toolbox_ppc_local_2021-02-08 3.7 M
    ncurses ppc 6.2-3 AIX_Toolbox_ppc_local_2021-02-08 3.5 M
    openldap ppc 2.4.58-1 AIX_Toolbox_ppc_local_2021-02-08 4.3 M
    p11-kit ppc 0.23.22-1 AIX_Toolbox_ppc_local_2021-02-08 4.3 M
    p11-kit-tools ppc 0.23.22-1 AIX_Toolbox_ppc_local_2021-02-08 198 k
    pcre ppc 8.44-2 AIX_Toolbox_ppc_local_2021-02-08 723 k
    perl ppc 1:5.30.3-2 AIX_Toolbox_ppc_local_2021-02-08 28 M
    python ppc 2.7.18-3 AIX_Toolbox_ppc_local_2021-02-08 22 M
    python-devel ppc 2.7.18-3 AIX_Toolbox_ppc_local_2021-02-08 16 k
    python-tools ppc 2.7.18-3 AIX_Toolbox_ppc_local_2021-02-08 17 k
    python3 ppc 3.7.12-1 AIX_Toolbox_ppc_local_2021-02-08 39 M
    readline ppc 8.1-1 AIX_Toolbox_ppc_local_2021-02-08 2.5 M
    sqlite ppc 3.35.5-1 AIX_Toolbox_ppc_local_2021-02-08 8.7 M
    tar ppc 1.33-1 AIX_Toolbox_ppc_local_2021-02-08 1.5 M
    info ppc 6.7-1 AIX_Toolbox_ppc_local_2021-02-08 699 k
    vim-common ppc 8.2.4000-1 AIX_Toolbox_ppc_local_2021-02-08 5.9 M
    vim-enhanced ppc 8.2.4000-1 AIX_Toolbox_ppc_local_2021-02-08 6.2 M
    vim-minimal ppc 8.2.4000-1 AIX_Toolbox_ppc_local_2021-02-08 1.4 M
    wget ppc 1.21.2-1 AIX_Toolbox_ppc_local_2021-02-08 705 k
    gcc8 ppc 8.3.0-6 AIX_Toolbox_72_local_2021-02-08 29 M
    gcc8-cpp ppc 8.3.0-6 AIX_Toolbox_72_local_2021-02-08 10 M
    libgcc8 ppc 8.3.0-6 AIX_Toolbox_72_local_2021-02-08 974 k
    libgomp8 ppc 8.3.0-6 AIX_Toolbox_72_local_2021-02-08 1.4 M
    libstdc++8 ppc 8.3.0-6 AIX_Toolbox_72_local_2021-02-08 12 M
    Installing dependencies:
    git-core-doc noarch 2.31.1-1 AIX_Toolbox_generic_local_2022-01-19 3.7 M
    git-core ppc 2.31.1-1 AIX_Toolbox_ppc_local_2021-02-08 18 M
    libsodium ppc 1.0.18-1 AIX_Toolbox_ppc_local_2021-02-08 544 k
    libtasn1 ppc 4.16.0-1 AIX_Toolbox_ppc_local_2021-02-08 200 k

    Transaction Summary
    ======================================================================================================================================================================
    Install 4 Packages
    Upgrade 34 Packages

    Total download size: 268 M
    Downloading Packages:
    (1/38): libsodium-1.0.18-1.aix6.1.ppc.rpm 25 MB/s | 544 kB 00:00
    (2/38): libtasn1-4.16.0-1.aix6.1.ppc.rpm 17 MB/s | 200 kB 00:00
    (3/38): bash-5.1.4-2.aix6.1.ppc.rpm 38 MB/s | 2.8 MB 00:00
    (4/38): git-core-doc-2.31.1-1.aix6.1.noarch.rpm 29 MB/s | 3.7 MB 00:00
    (5/38): ca-certificates-2020.06.01-2.aix6.1.ppc.rpm 21 MB/s | 925 kB 00:00
    (6/38): curl-7.79.1-1.aix6.1.ppc.rpm 35 MB/s | 1.6 MB 00:00
    (7/38): cyrus-sasl-2.1.26-5.aix6.1.ppc.rpm 28 MB/s | 919 kB 00:00
    (8/38): gdbm-1.19-1.aix6.1.ppc.rpm 24 MB/s | 274 kB 00:00
    (9/38): git-2.31.1-1.aix6.1.ppc.rpm 40 MB/s | 3.4 MB 00:00
    (10/38): git-core-2.31.1-1.aix6.1.ppc.rpm 33 MB/s | 18 MB 00:00
    (11/38): db-5.3.28-1.aix6.1.ppc.rpm 31 MB/s | 17 MB 00:00
    (12/38): glib2-2.56.1-3.aix6.1.ppc.rpm 28 MB/s | 16 MB 00:00
    (13/38): libxml2-2.9.11-1.aix6.1.ppc.rpm 26 MB/s | 5.5 MB 00:00
    (14/38): ncftp-3.2.6-2.aix6.1.ppc.rpm 31 MB/s | 3.7 MB 00:00
    (15/38): krb5-libs-1.18.3-1.aix6.1.ppc.rpm 23 MB/s | 11 MB 00:00
    (16/38): ncurses-6.2-3.aix6.1.ppc.rpm 22 MB/s | 3.5 MB 00:00
    (17/38): p11-kit-tools-0.23.22-1.aix6.1.ppc.rpm 22 MB/s | 198 kB 00:00
    (18/38): pcre-8.44-2.aix6.1.ppc.rpm 39 MB/s | 723 kB 00:00
    (19/38): openldap-2.4.58-1.aix6.1.ppc.rpm 23 MB/s | 4.3 MB 00:00
    (20/38): p11-kit-0.23.22-1.aix6.1.ppc.rpm 28 MB/s | 4.3 MB 00:00
    (21/38): python-devel-2.7.18-3.aix6.1.ppc.rpm 10 MB/s | 16 kB 00:00
    (22/38): python-tools-2.7.18-3.aix6.1.ppc.rpm 15 MB/s | 17 kB 00:00
    (23/38): python-2.7.18-3.aix6.1.ppc.rpm 39 MB/s | 22 MB 00:00
    (24/38): readline-8.1-1.aix6.1.ppc.rpm 39 MB/s | 2.5 MB 00:00
    (25/38): perl-5.30.3-2.aix6.1.ppc.rpm 33 MB/s | 28 MB 00:00
    (26/38): tar-1.33-1.aix6.1.ppc.rpm 33 MB/s | 1.5 MB 00:00
    (27/38): info-6.7-1.aix6.1.ppc.rpm 24 MB/s | 699 kB 00:00
    (28/38): sqlite-3.35.5-1.aix6.1.ppc.rpm 22 MB/s | 8.7 MB 00:00
    (29/38): vim-common-8.2.4000-1.aix6.1.ppc.rpm 29 MB/s | 5.9 MB 00:00
    (30/38): vim-minimal-8.2.4000-1.aix6.1.ppc.rpm 30 MB/s | 1.4 MB 00:00
    (31/38): wget-1.21.2-1.aix6.1.ppc.rpm 30 MB/s | 705 kB 00:00
    (32/38): vim-enhanced-8.2.4000-1.aix6.1.ppc.rpm 29 MB/s | 6.2 MB 00:00
    (33/38): python3-3.7.12-1.aix6.1.ppc.rpm 28 MB/s | 39 MB 00:01
    (34/38): libgcc8-8.3.0-6.aix7.2.ppc.rpm 34 MB/s | 974 kB 00:00
    (35/38): libgomp8-8.3.0-6.aix7.2.ppc.rpm 38 MB/s | 1.4 MB 00:00
    (36/38): gcc8-cpp-8.3.0-6.aix7.2.ppc.rpm 21 MB/s | 10 MB 00:00
    (37/38): libstdcplusplus8-8.3.0-6.aix7.2.ppc.rpm 37 MB/s | 12 MB 00:00
    (38/38): gcc8-8.3.0-6.aix7.2.ppc.rpm 32 MB/s | 29 MB 00:00
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total 83 MB/s | 268 MB 00:03
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
    Preparing : 1/1
    Upgrading : libgcc8-8.3.0-6.ppc 1/72
    Running scriptlet: db-1:5.3.28-1.ppc 2/72
    Upgrading : db-1:5.3.28-1.ppc 2/72
    Upgrading : bash-5.1.4-2.ppc 3/72
    Running scriptlet: bash-5.1.4-2.ppc 3/72

    ## Binary "bash" is available in 32bit and 64bit ##

    Default is 64bit. For 32bit, use /opt/freeware/bin/bash_32


    Upgrading : gdbm-1.19-1.ppc 4/72
    Upgrading : perl-1:5.30.3-2.ppc 5/72
    Upgrading : libstdc++8-8.3.0-6.ppc 6/72
    Upgrading : ncurses-6.2-3.ppc 7/72
    Running scriptlet: info-6.7-1.ppc 8/72
    Upgrading : info-6.7-1.ppc 8/72
    Running scriptlet: info-6.7-1.ppc 8/72
    Please check that /etc/info-dir does exist.
    You might have to rename it from /etc/info-dir.rpmsave to /etc/info-dir.

    Upgrading : readline-8.1-1.ppc 9/72
    Running scriptlet: readline-8.1-1.ppc 9/72
    Upgrading : sqlite-3.35.5-1.ppc 10/72
    Upgrading : python-2.7.18-3.ppc 11/72
    Installing : libsodium-1.0.18-1.ppc 12/72
    Installing : libtasn1-4.16.0-1.ppc 13/72
    Upgrading : p11-kit-0.23.22-1.ppc 14/72
    Upgrading : p11-kit-tools-0.23.22-1.ppc 15/72
    Upgrading : ca-certificates-2020.06.01-2.ppc 16/72
    Running scriptlet: ca-certificates-2020.06.01-2.ppc 16/72
    Upgrading : python3-3.7.12-1.ppc 17/72
    Upgrading : gcc8-cpp-8.3.0-6.ppc 18/72
    Running scriptlet: gcc8-cpp-8.3.0-6.ppc 18/72
    Upgrading : gcc8-8.3.0-6.ppc 19/72
    Running scriptlet: gcc8-8.3.0-6.ppc 19/72
    Fixing headers into /tmp/gcc-fixincl18284854 for powerpc-ibm-aix7.2.5.0 target
    Forbidden identifiers: bool pixel vector
    Finding directories and links to directories
    Searching /usr/include/.
    Searching /usr/include/./X11
    Searching /usr/include/./python2.7
    Making symbolic directory links
    Fixing directory /usr/include into /tmp/gcc-fixincl18284854
    Applying aix_assert to assert.h
    Applying strict_ansi_only to assert.h
    Fixed: assert.h
    Applying aix_complex to complex.h
    Fixed: complex.h
    Applying aix_null to curses.h
    Fixed: curses.h
    Applying aix_null to dbm.h
    Fixed: dbm.h
    Applying AAB_aix_fcntl to fcntl.h
    Fixed: fcntl.h
    Applying io_quotes_def to isode/pepsy.h
    Applying machine_name to libmilter/mfapi.h
    Fixed: libmilter/mfapi.h
    Quoted includes in libmilter/mfapi.h
    Applying aix_null to locale.h
    Fixed: locale.h
    Applying sun_malloc to malloc.h
    Applying hpux8_bogus_inlines to math.h
    Applying math_exception to math.h
    Applying rs6000_double to math.h
    Fixed: math.h
    Applying io_quotes_use to net/bpf.h
    Fixed: net/bpf.h
    Applying aix_net_if_arp to net/if_arp.h
    Fixed: net/if_arp.h
    Applying io_quotes_use to netinet/if_802_5.h
    Fixed: netinet/if_802_5.h
    Applying io_quotes_def to netinet/in.h
    Applying ip_missing_semi to netinet/ip.h
    Applying io_quotes_def to netinet/ip6_opts.h
    Applying svr4_undeclared_getrnge to regexp.h
    Applying strict_ansi_only to setjmp.h
    Fixed: setjmp.h
    Applying gnu_types to stddef.h
    Fixed: stddef.h
    Applying aix_stdint_1 to stdint.h
    Fixed: stdint.h
    Applying AAB_aix_stdio to stdio.h
    Applying aix_null to stdio.h
    Applying aix_stdio_inline to stdio.h
    Applying stdio_stdarg_h to stdio.h
    Applying stdio_va_list to stdio.h
    Fixed: stdio.h
    Applying aix_null to stdlib.h
    Applying aix_stdlib_malloc to stdlib.h
    Applying aix_stdlib_realloc to stdlib.h
    Applying aix_stdlib_calloc to stdlib.h
    Applying aix_stdlib_valloc to stdlib.h
    Applying aix_stdlib_vec_malloc to stdlib.h
    Applying aix_stdlib_vec_calloc to stdlib.h
    Applying gnu_types to stdlib.h
    Fixed: stdlib.h
    Applying aix_null to string.h
    Applying sysv68_string to string.h
    Fixed: string.h
    Cannot access swclock.h from /usr/include
    error 2 (No such file or directory)
    Applying io_quotes_def to sys/aio.h
    Applying aix_null to sys/dir.h
    Fixed: sys/dir.h
    Quoted includes in sys/dir.h
    Applying io_quotes_def to sys/dlpi_aix.h
    Applying io_quotes_use to sys/dlpi_aix.h
    Applying io_quotes_def to sys/fs/kdm_dmi.h
    Applying io_quotes_def to sys/ioctl.h
    Applying io_quotes_use to sys/mtio.h
    Applying aix_null to sys/param.h
    Fixed: sys/param.h
    Quoted includes in sys/param.h
    Applying io_quotes_use to sys/ras.h
    Applying aix_volatile to sys/signal.h
    Fixed: sys/signal.h
    Applying io_quotes_def to sys/stropts.h
    Applying aix_null to sys/types.h
    Applying gnu_types to sys/types.h
    Fixed: sys/types.h
    Applying next_wait_union to sys/wait.h
    Fixed: sys/wait.h
    Applying aix_null to time.h
    Fixed: time.h
    Applying aix_null to unistd.h
    Fixed: unistd.h
    Applying io_quotes_def to usersec.h
    Applying aix_null to wchar.h
    Applying stdio_va_list_clients to wchar.h
    Fixed: wchar.h
    Fixing directory /usr/include/X11 into /tmp/gcc-fixincl18284854/root/usr/lpp/X11/include/X11
    Applying io_quotes_def to X11/Xmu/Atoms.h
    Fixing directory /usr/include/python2.7 into /tmp/gcc-fixincl18284854/root/opt/freeware/include/python2.7
    Cleaning up unneeded directories:
    fixincludes is done

    Upgrading : cyrus-sasl-2.1.26-5.ppc 20/72
    Running scriptlet: cyrus-sasl-2.1.26-5.ppc 20/72
    From cyrus-sasl 2.1.26-5 onwards, symbolic links in /usr/sbin has been removed.
    The binaries are shipped in /opt/freeware/sbin. Please use absolute path or
    add /opt/freeware/sbin in PATH environment variable to use the binary.

    Running scriptlet: openldap-2.4.58-1.ppc 21/72
    3004-686 Group "ldap" does not exist.

    Upgrading : openldap-2.4.58-1.ppc 21/72
    Running scriptlet: openldap-2.4.58-1.ppc 21/72

    Openldap <= 2.4.46-1 overwrites symbolic links created by ibmldap in /usr/bin. From 2.4.46-2 onwards, no files are being shipped in /usr/bin directory.
    So updating openldap from any version <= 2.4.46-1 will remove symbolic links created by ibmldap in /usr/bin. One can recreate them using the following command
    /opt/IBM/ldap/V6.1/bin/idslink -g -f


    Upgrading : krb5-libs-1.18.3-1.ppc 22/72
    Running scriptlet: krb5-libs-1.18.3-1.ppc 22/72
    /

    Upgrading : curl-7.79.1-1.ppc 23/72
    Installing : git-core-2.31.1-1.ppc 24/72
    Installing : git-core-doc-2.31.1-1.noarch 25/72
    Upgrading : vim-common-8.2.4000-1.ppc 26/72
    Upgrading : vim-enhanced-8.2.4000-1.ppc 27/72
    Running scriptlet: git-2.31.1-1.ppc 28/72
    Upgrading : git-2.31.1-1.ppc 28/72
    Upgrading : vim-minimal-8.2.4000-1.ppc 29/72
    Upgrading : python-devel-2.7.18-3.ppc 30/72
    Upgrading : python-tools-2.7.18-3.ppc 31/72
    Upgrading : pcre-8.44-2.ppc 32/72
    Upgrading : tar-1.33-1.ppc 33/72
    Running scriptlet: tar-1.33-1.ppc 33/72
    Upgrading : wget-1.21.2-1.ppc 34/72
    Running scriptlet: wget-1.21.2-1.ppc 34/72
    From wget-1.21.1 onwards, symbolic link of wget in /usr/bin is removed.
    The binary is shipped in /opt/freeware/bin. Please use absolute path or
    add /opt/freeware/bin in PATH environment variable to use the binary.

    Upgrading : glib2-2.56.1-3.ppc 35/72
    Upgrading : libxml2-2.9.11-1.ppc 36/72
    Upgrading : libgomp8-8.3.0-6.ppc 37/72
    Running scriptlet: libgomp8-8.3.0-6.ppc 37/72
    Upgrading : ncftp-3.2.6-2.ppc 38/72
    Cleanup : git-2.20.4-1.ppc 39/72
    Cleanup : curl-7.74.0-1.ppc 40/72
    Running scriptlet: python3-3.7.9-1.ppc 41/72
    Cleanup : python3-3.7.9-1.ppc 41/72
    Cleanup : vim-enhanced-8.1.2424-1.ppc 42/72
    Cleanup : perl-1:5.30.3-1.ppc 43/72
    Running scriptlet: gcc8-8.3.0-4.ppc 44/72
    Warnings dealing with include-fixed directory can be ignored.

    Cleanup : gcc8-8.3.0-4.ppc 44/72
    Running scriptlet: gcc8-8.3.0-4.ppc 44/72
    Cleanup : pcre-8.44-1.ppc 45/72
    Cleanup : krb5-libs-1.16.1-5.ppc 46/72
    Running scriptlet: openldap-2.4.56-1.ppc 47/72
    Cleanup : openldap-2.4.56-1.ppc 47/72
    Cleanup : cyrus-sasl-2.1.26-3.ppc 48/72
    Cleanup : vim-minimal-8.1.2424-1.ppc 49/72
    Running scriptlet: libgomp8-8.3.0-4.ppc 50/72
    Cleanup : libgomp8-8.3.0-4.ppc 50/72
    Running scriptlet: tar-1.32-1.ppc 51/72
    Cleanup : tar-1.32-1.ppc 51/72
    Cleanup : python-tools-2.7.18-1.ppc 52/72
    Cleanup : db-6.2.38-3.ppc 53/72
    Cleanup : ca-certificates-2020.06.01-1.ppc 54/72
    Running scriptlet: ca-certificates-2020.06.01-1.ppc 54/72
    Cleanup : p11-kit-tools-0.23.16-1.ppc 55/72
    Cleanup : p11-kit-0.23.16-1.ppc 56/72
    Running scriptlet: wget-1.20.3-1.ppc 57/72
    Cleanup : wget-1.20.3-1.ppc 57/72
    Cleanup : python-devel-2.7.18-1.ppc 58/72
    Cleanup : python-2.7.18-1.ppc 59/72
    Cleanup : sqlite-3.32.3-1.ppc 60/72
    Running scriptlet: readline-8.0-2.ppc 61/72
    Cleanup : readline-8.0-2.ppc 61/72
    Running scriptlet: info-6.6-2.ppc 62/72
    Cleanup : info-6.6-2.ppc 62/72
    Running scriptlet: info-6.6-2.ppc 62/72
    Cleanup : ncurses-6.2-2.ppc 63/72
    Cleanup : libstdc++8-8.3.0-4.ppc 64/72
    Cleanup : gdbm-1.18.1-1.ppc 65/72
    Cleanup : libxml2-2.9.10-1.ppc 66/72
    Cleanup : glib2-2.56.1-2.ppc 67/72
    Cleanup : libgcc8-8.3.0-4.ppc 68/72
    Cleanup : bash-5.0.18-1.ppc 69/72
    Running scriptlet: bash-5.0.18-1.ppc 69/72
    Running scriptlet: gcc8-cpp-8.3.0-4.ppc 70/72
    Cleanup : gcc8-cpp-8.3.0-4.ppc 70/72
    Cleanup : vim-common-8.1.2424-1.ppc 71/72
    Cleanup : ncftp-3.2.6-1.ppc 72/72
    Running scriptlet: bash-5.1.4-2.ppc 72/72
    Running scriptlet: readline-8.1-1.ppc 72/72
    Verifying : git-core-doc-2.31.1-1.noarch 1/72
    Verifying : git-core-2.31.1-1.ppc 2/72
    Verifying : libsodium-1.0.18-1.ppc 3/72
    Verifying : libtasn1-4.16.0-1.ppc 4/72
    Verifying : bash-5.1.4-2.ppc 5/72
    Verifying : bash-5.0.18-1.ppc 6/72
    Verifying : ca-certificates-2020.06.01-2.ppc 7/72
    Verifying : ca-certificates-2020.06.01-1.ppc 8/72
    Verifying : curl-7.79.1-1.ppc 9/72
    Verifying : curl-7.74.0-1.ppc 10/72
    Verifying : cyrus-sasl-2.1.26-5.ppc 11/72
    Verifying : cyrus-sasl-2.1.26-3.ppc 12/72
    Verifying : db-1:5.3.28-1.ppc 13/72
    Verifying : db-6.2.38-3.ppc 14/72
    Verifying : gdbm-1.19-1.ppc 15/72
    Verifying : gdbm-1.18.1-1.ppc 16/72
    Verifying : git-2.31.1-1.ppc 17/72
    Verifying : git-2.20.4-1.ppc 18/72
    Verifying : glib2-2.56.1-3.ppc 19/72
    Verifying : glib2-2.56.1-2.ppc 20/72
    Verifying : krb5-libs-1.18.3-1.ppc 21/72
    Verifying : krb5-libs-1.16.1-5.ppc 22/72
    Verifying : libxml2-2.9.11-1.ppc 23/72
    Verifying : libxml2-2.9.10-1.ppc 24/72
    Verifying : ncftp-3.2.6-2.ppc 25/72
    Verifying : ncftp-3.2.6-1.ppc 26/72
    Verifying : ncurses-6.2-3.ppc 27/72
    Verifying : ncurses-6.2-2.ppc 28/72
    Verifying : openldap-2.4.58-1.ppc 29/72
    Verifying : openldap-2.4.56-1.ppc 30/72
    Verifying : p11-kit-0.23.22-1.ppc 31/72
    Verifying : p11-kit-0.23.16-1.ppc 32/72
    Verifying : p11-kit-tools-0.23.22-1.ppc 33/72
    Verifying : p11-kit-tools-0.23.16-1.ppc 34/72
    Verifying : pcre-8.44-2.ppc 35/72
    Verifying : pcre-8.44-1.ppc 36/72
    Verifying : perl-1:5.30.3-2.ppc 37/72
    Verifying : perl-1:5.30.3-1.ppc 38/72
    Verifying : python-2.7.18-3.ppc 39/72
    Verifying : python-2.7.18-1.ppc 40/72
    Verifying : python-devel-2.7.18-3.ppc 41/72
    Verifying : python-devel-2.7.18-1.ppc 42/72
    Verifying : python-tools-2.7.18-3.ppc 43/72
    Verifying : python-tools-2.7.18-1.ppc 44/72
    Verifying : python3-3.7.12-1.ppc 45/72
    Verifying : python3-3.7.9-1.ppc 46/72
    Verifying : readline-8.1-1.ppc 47/72
    Verifying : readline-8.0-2.ppc 48/72
    Verifying : sqlite-3.35.5-1.ppc 49/72
    Verifying : sqlite-3.32.3-1.ppc 50/72
    Verifying : tar-1.33-1.ppc 51/72
    Verifying : tar-1.32-1.ppc 52/72
    Verifying : info-6.7-1.ppc 53/72
    Verifying : info-6.6-2.ppc 54/72
    Verifying : vim-common-8.2.4000-1.ppc 55/72
    Verifying : vim-common-8.1.2424-1.ppc 56/72
    Verifying : vim-enhanced-8.2.4000-1.ppc 57/72
    Verifying : vim-enhanced-8.1.2424-1.ppc 58/72
    Verifying : vim-minimal-8.2.4000-1.ppc 59/72
    Verifying : vim-minimal-8.1.2424-1.ppc 60/72
    Verifying : wget-1.21.2-1.ppc 61/72
    Verifying : wget-1.20.3-1.ppc 62/72
    Verifying : gcc8-8.3.0-6.ppc 63/72
    Verifying : gcc8-8.3.0-4.ppc 64/72
    Verifying : gcc8-cpp-8.3.0-6.ppc 65/72
    Verifying : gcc8-cpp-8.3.0-4.ppc 66/72
    Verifying : libgcc8-8.3.0-6.ppc 67/72
    Verifying : libgcc8-8.3.0-4.ppc 68/72
    Verifying : libgomp8-8.3.0-6.ppc 69/72
    Verifying : libgomp8-8.3.0-4.ppc 70/72
    Verifying : libstdc++8-8.3.0-6.ppc 71/72
    Verifying : libstdc++8-8.3.0-4.ppc 72/72

    Upgraded:
    bash-5.1.4-2.ppc ca-certificates-2020.06.01-2.ppc curl-7.79.1-1.ppc cyrus-sasl-2.1.26-5.ppc db-1:5.3.28-1.ppc gdbm-1.19-1.ppc
    git-2.31.1-1.ppc glib2-2.56.1-3.ppc krb5-libs-1.18.3-1.ppc libxml2-2.9.11-1.ppc ncftp-3.2.6-2.ppc ncurses-6.2-3.ppc
    openldap-2.4.58-1.ppc p11-kit-0.23.22-1.ppc p11-kit-tools-0.23.22-1.ppc pcre-8.44-2.ppc perl-1:5.30.3-2.ppc python-2.7.18-3.ppc
    python-devel-2.7.18-3.ppc python-tools-2.7.18-3.ppc python3-3.7.12-1.ppc readline-8.1-1.ppc sqlite-3.35.5-1.ppc tar-1.33-1.ppc
    info-6.7-1.ppc vim-common-8.2.4000-1.ppc vim-enhanced-8.2.4000-1.ppc vim-minimal-8.2.4000-1.ppc wget-1.21.2-1.ppc gcc8-8.3.0-6.ppc
    gcc8-cpp-8.3.0-6.ppc libgcc8-8.3.0-6.ppc libgomp8-8.3.0-6.ppc libstdc++8-8.3.0-6.ppc

    Installed:
    git-core-doc-2.31.1-1.noarch git-core-2.31.1-1.ppc libsodium-1.0.18-1.ppc libtasn1-4.16.0-1.ppc

    Complete!


    ------------------------------
    Mike AIX
    ------------------------------

    #AIXOpenSource


  • 2.  RE: libgcc_s.a error after updating aixtoolbox

    Posted Fri April 08, 2022 09:13 PM
    Hi Mike
    Can you check your level for gettext? 
    I don't see that in the package list.

    I have:
    sudo-1.9.5p2-1.ppc
    gettext-0.20.2-1.ppc

    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 3.  RE: libgcc_s.a error after updating aixtoolbox

    Posted Mon April 11, 2022 08:40 AM
    I have the same levels of sudo and gettext.  Here is a listing of all the RPMs installed after updating:

    yum-metadata-parser-1.1.4-2.ppc
    pysqlite-2.8.3-2.ppc
    libmpc-1.1.0-1.ppc
    rubygem-json_pure-1.8.3-1.noarch
    rubygem-facter-2.4.6-1.noarch
    dbsize-1.0.1-1.aix7.1.noarch
    perllib-cats-messages-0.1.0-1.aix7.1.noarch
    perllib-cats-superuser-0.1.2-1.aix7.1.noarch
    perllib-cats-proc-0.1.2-1.aix7.1.noarch
    libgcc-8-1.ppc
    expat-2.2.9-2.ppc
    xz-libs-5.2.5-1.ppc
    libtextstyle-0.20.2-1.ppc
    libunistring-0.9.10-1.ppc
    libiconv-1.16-1.ppc
    sed-4.8-1.ppc
    lz4-1.9.2-1.ppc
    libnghttp2-1.41.0-1.ppc
    less-557-1.ppc
    findutils-4.6.0-2.ppc
    sudo-1.9.5p2-1.ppc
    zip-3.0-4.ppc
    tmux-3.1b-1.ppc
    grep-3.4-1.ppc
    catsssts-2.2.0-1.aix7.1.noarch
    perllib-cats-routine-0.2.0-1.aix7.1.noarch
    perllib-cats-base-0.4.1-1.aix7.1.noarch
    perllib-cats-oslib-0.5.1-1.aix7.1.noarch
    lpar2rrd-agent-7.20-1.ppc
    catnix-zac-2.0.13-1.aix7.1.noarch
    AIX-rpm-7.2.5.101-10.ppc
    catnix-chk-1.0.17-1.aix7.1.noarch
    libmodulemd-1.5.2-32_1.ppc
    libsmartcols-2.34-32_1.ppc
    librepo-1.11.0-32_1.ppc
    libdnf-0.39.1-32_1.ppc
    python3-hawkey-0.39.1-32_1.ppc
    python3-six-1.13.0-1.noarch
    python3-gpgme-1.13.1-32_1.ppc
    python3-libcomps-0.1.11-32_1.ppc
    dnf-4.2.17-32_1.noarch
    python3-dnf-plugin-migrate-4.0.16-32_1.noarch
    yum-4.2.17-32_1.noarch
    libgcc8-8.3.0-6.ppc
    bash-5.1.4-2.ppc
    perl-5.30.3-2.ppc
    ncurses-6.2-3.ppc
    readline-8.1-1.ppc
    python-2.7.18-3.ppc
    libtasn1-4.16.0-1.ppc
    p11-kit-tools-0.23.22-1.ppc
    python3-3.7.12-1.ppc
    gcc8-8.3.0-6.ppc
    openldap-2.4.58-1.ppc
    curl-7.79.1-1.ppc
    git-core-doc-2.31.1-1.noarch
    vim-enhanced-8.2.4000-1.ppc
    vim-minimal-8.2.4000-1.ppc
    python-tools-2.7.18-3.ppc
    tar-1.33-1.ppc
    glib2-2.56.1-3.ppc
    libgomp8-8.3.0-6.ppc
    python-iniparse-0.4-1.noarch
    python-urlgrabber-3.10.1-1.noarch
    libffi-3.2.1-3.ppc
    python-pycurl-7.43.0-1.ppc
    unzip-6.0-3.ppc
    gmp-6.1.2-1.ppc
    rubygem-hiera-1.3.4-1.noarch
    puppet-agent-6.10.1-1.ppc
    lib-callin-0.1.1-1.ppc
    cachejob-1.0.1-1.aix7.1.noarch
    jstat-1.0.0-1.aix7.1.noarch
    perllib-cats-loglib-0.2.0-1.aix7.1.noarch
    perllib-cats-iscglobal-0.1.3-1.aix7.1.noarch
    zlib-1.2.11-2.ppc
    libstdc++-8-1.ppc
    bzip2-1.0.8-2.ppc
    libssh2-1.9.0-1.ppc
    mpfr-4.0.2-2.ppc
    libgomp-8-1.ppc
    gettext-0.20.2-1.ppc
    coreutils-8.32-1.ppc
    gcc-cpp-8-1.ppc
    rsync-3.2.3-1.ppc
    gcc-8-1.ppc
    screen-4.7.0-1.ppc
    ruby-2.7.1-1.ppc
    libevent-2.1.12-1.ppc
    catnix-zabbix-cache-2.1.8-1.aix7.1.noarch
    catnix-fsalloc-1.0.0-1.aix7.1.noarch
    gsz-1.0.0-2.aix7.1.noarch
    freecnt-1.0.2-1.aix7.1.noarch
    catspy2-2.2.0-23.aix7.1.noarch
    catnix-routinemgr-0.2.1-1.aix7.1.noarch
    mkfoms-1.4.0-1.aix7.1.noarch
    perllib-cats-db-0.15.6-1.aix7.1.noarch
    catnix-cs-1.2.0-1.aix7.1.noarch
    catnix-shell-func-0.1.3-1.aix7.1.noarch
    zabbix-agent-5.0.14-1.ppc
    libzstd-1.4.4-32_1.ppc
    libsolv-0.7.9-32_1.ppc
    zchunk-libs-1.1.4-32_1.ppc
    rpm-python3-4.15.1-32_1.ppc
    python3-libdnf-0.39.1-32_1.ppc
    dnf-data-4.2.17-32_1.noarch
    python3-dateutil-2.8.0-1.noarch
    libcomps-0.1.11-32_1.ppc
    python3-dnf-4.2.17-32_1.noarch
    python3-dnf-plugins-core-4.0.16-32_1.noarch
    dnf-automatic-4.2.17-32_1.noarch
    python3-librepo-1.11.0-32_1.ppc
    db-5.3.28-1.ppc
    gdbm-1.19-1.ppc
    libstdc++8-8.3.0-6.ppc
    info-6.7-1.ppc
    sqlite-3.35.5-1.ppc
    libsodium-1.0.18-1.ppc
    p11-kit-0.23.22-1.ppc
    ca-certificates-2020.06.01-2.ppc
    gcc8-cpp-8.3.0-6.ppc
    cyrus-sasl-2.1.26-5.ppc
    krb5-libs-1.18.3-1.ppc
    git-core-2.31.1-1.ppc
    vim-common-8.2.4000-1.ppc
    git-2.31.1-1.ppc
    python-devel-2.7.18-3.ppc
    pcre-8.44-2.ppc
    wget-1.21.2-1.ppc
    libxml2-2.9.11-1.ppc
    ncftp-3.2.6-2.ppc

    ------------------------------
    Mike AIX
    ------------------------------



  • 4.  RE: libgcc_s.a error after updating aixtoolbox

    Posted Mon April 11, 2022 11:22 AM
    Check whether "/opt/freeware/lib/libgcc_s.a" exists and valid. 
    ls -l /opt/freeware/lib/libgcc_s.a

    ------------------------------
    Ayappan P
    ------------------------------



  • 5.  RE: libgcc_s.a error after updating aixtoolbox

    Posted Mon April 11, 2022 12:03 PM
    Ayappan.  I think you found the problem.  Now we need a root cause.  /opt/freeware/lib/libgcc_s.a points to /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8/libgcc_s.a which does not exist.  Is this a problem with the package?


    # ls -l /opt/freeware/lib/libgcc_s.a
    lrwxrwxrwx 1 root system 39 Apr 08 11:43 /opt/freeware/lib/libgcc_s.a -> gcc/powerpc-ibm-aix7.1.0.0/8/libgcc_s.a
    # ls -l /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8/libgcc_s.a
    ls: 0653-341 The file /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8/libgcc_s.a does not exist.
    # find /opt -name libgcc_s.a -ls
    151765 2337 -rw-r--r-- 1 root system 2392899 Aug 15 2021 /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8/libgcc_s.a
    151768 1 lrwxrwxrwx 1 root system 57 Apr 8 15:28 /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8/ppc64/libgcc_s.a -> /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8/libgcc_s.a
    151771 2493 -rw-r--r-- 1 root system 2552140 Aug 15 2021 /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8/pthread/libgcc_s.a
    151774 1 lrwxrwxrwx 1 root system 65 Apr 8 15:28 /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8/pthread/ppc64/libgcc_s.a -> /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8/pthread/libgcc_s.a
    22533 1 lrwxrwxrwx 1 root system 39 Apr 8 11:43 /opt/freeware/lib/libgcc_s.a -> gcc/powerpc-ibm-aix7.1.0.0/8/libgcc_s.a
    41224 1 lrwxrwxrwx 1 root system 50 Apr 8 11:43 /opt/freeware/lib/pthread/libgcc_s.a -> ../gcc/powerpc-ibm-aix7.1.0.0/8/pthread/libgcc_s.a
    41229 1 lrwxrwxrwx 1 root system 59 Apr 8 11:43 /opt/freeware/lib/pthread/ppc64/libgcc_s.a -> ../../gcc/powerpc-ibm-aix7.1.0.0/8/pthread/ppc64/libgcc_s.a
    51976 1 lrwxrwxrwx 1 root system 52 Apr 8 11:43 /opt/freeware/lib64/libgcc_s.a -> ../lib/gcc/powerpc-ibm-aix7.1.0.0/8/ppc64/libgcc_s.a
    139285 2341 -rwxr-xr-x 1 root system 2397011 Jul 11 2021 /opt/freeware/libdnfdeps/libgcc_s.a
    112411 1031 -rw-r--r-- 1 root system 1055612 Nov 16 2017 /opt/puppetlabs/puppet/lib/libgcc_s.a


    ------------------------------
    Mike AIX
    ------------------------------



  • 6.  RE: libgcc_s.a error after updating aixtoolbox

    Posted Mon April 11, 2022 02:05 PM
    Before updating the RPMs I had libgcc-8-1.ppc and libgcc8-8.3.0-4.ppc.  After the updates I have libgcc-8-1.ppc and libgcc8-8.3.0-6.ppc.  It appears libgcc8 updating without corresponding required updates to libgcc.  libgcc8 updated the libgcc_s.a library to live under a directory named 7.2 rather than 7.1:

    # rpm -q --whatprovides /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8/libgcc_s.a
    libgcc8-8.3.0-6.ppc

    So I could manually update the link provided by libgcc-8-1.ppc but it should have been updated and required to patch libgcc8 from 8.3.0-4 to 8.3.0-6.  Can an update be provided?

    ------------------------------
    Mike AIX
    ------------------------------



  • 7.  RE: libgcc_s.a error after updating aixtoolbox
    Best Answer

    Posted Tue April 12, 2022 03:12 AM

    From the details,  it looks like the machine is migrated from AIX 7.1 to AIX 7.2. 
    So in that case, reinstall of AIX version specific rpms are required like libgcc., etc.
    Look into the below blog under section 2.
    https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2022/01/10/aix-migration-with-dnf?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9



    ------------------------------
    Ayappan P
    ------------------------------



  • 8.  RE: libgcc_s.a error after updating aixtoolbox

    Posted Tue April 12, 2022 12:57 PM
    Thanks Ayappan, That was the problem.  Following those directions I was successful in updating the server.

    ------------------------------
    Mike AIX
    ------------------------------