AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  AIX 72 to 73 and libgcc

    Posted Thu January 04, 2024 09:18 AM
    Edited by Martin Boban Thu January 04, 2024 09:19 AM

    Hi,

    I have migrated to AIX 7.3. Was updating DNF following 

    AIX migration with DNF

    Ibm remove preview
    AIX migration with DNF
    View this on Ibm >

    and didnt notice this "NOTE: Include both meta packages and gcc10 version specific packages in a single command otherwise the libgcc and libstdc++ libraries would be
                 pointing to non-existence wrong version specific libraries."

    run 

    dnf check
    libgcc-1:10-2.ppc has missing requires of AIX-rpm < 7.3.0.0
    libgcc10-10.3.0-6.ppc has missing requires of AIX-rpm < 7.3.0.0
    libgomp-1:10-2.ppc has missing requires of AIX-rpm < 7.3.0.0
    libgomp10-10.3.0-6.ppc has missing requires of AIX-rpm < 7.3.0.0
    libstdc++-1:10-2.ppc has missing requires of AIX-rpm < 7.3.0.0
    libstdc++10-10.3.0-6.ppc has missing requires of AIX-rpm < 7.3.0.0
    Error: Check discovered 6 problem(s)
    dnf reinstall libgcc
    Last metadata expiration check: 0:00:45 ago on Thu Jan  4 15:22:37 CET 2024.
    Dependencies resolved.
    ==============================================================================================================================================================================================================
     Package                                         Architecture                                 Version                                           Repository                                               Size
    ==============================================================================================================================================================================================================
    Reinstalling:
     libgcc                                          ppc                                          1:10-2                                            AIX_Toolbox_73                                           15 k
    Transaction Summary
    ==============================================================================================================================================================================================================
    Total download size: 15 k
    Installed size: 0
    Is this ok [y/N]: y
    Downloading Packages:
    libgcc-10-2.aix7.3.ppc.rpm                                                                                                                                                    880 kB/s |  15 kB     00:00
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                                                                         781 kB/s |  15 kB     00:00
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
      Preparing        :                                                                                                                                                                                      1/1
      Reinstalling     : libgcc-1:10-2.ppc                                                                                                                                                                    1/2
      Cleanup          : libgcc-1:10-2.ppc                                                                                                                                                                    2/2
      Verifying        : libgcc-1:10-2.ppc                                                                                                                                                                    1/2
      Verifying        : libgcc-1:10-2.ppc                                                                                                                                                                    2/2
    Reinstalled:
      libgcc-1:10-2.ppc
    Complete!
    dnf reinstall libgcc10
    exec(): 0509-036 Cannot load program /opt/freeware/bin/python3.9 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.
    Can you direct me how can I fix that please?
    Thanks,
    Martin



    ------------------------------
    Martin Boban
    ------------------------------



  • 2.  RE: AIX 72 to 73 and libgcc

    Posted Thu January 04, 2024 10:17 AM
    Edited by Martin Boban Thu January 04, 2024 10:17 AM

    I have reinstalled again libgcc with rpm for 7.2 version (recreated links for 72) which allowed me to to run  dnf check again and do dnf reisntall for all packages in one command. So fixed.



    ------------------------------
    Martin Boban
    ------------------------------