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.  gmp-6.2.1-1.aix6.1.ppc on AIX 7.2

    Posted Sun August 21, 2022 03:14 PM

    Hi,

    I'm trying to install gmp-6.2.1-1.aix6.1.ppc.rpm as part of installing gcc8 on AIX 7.2 and keep getting this dependency error:

    libgcc >= 8.3.0-2 is needed by gmp-6.2.1-1.ppc

    libstdc++ >= 8.3.0-2 is needed by gmp-6.2.1-1.ppc

    I've installed both libstdc++8-8.3.0-6.aix7.2.ppc.rpm and libgcc8-8.3.0-6.aix7.2.ppc.rpm manually but still getting the dependency error for gmp.

    Could anyone let me know what I could be doing wrong? Any help would be appreciated.



    ------------------------------
    Kurt Bramich
    ------------------------------


  • 2.  RE: gmp-6.2.1-1.aix6.1.ppc on AIX 7.2

    Posted Sun August 21, 2022 03:56 PM
    Hi, Kurt

    See previous thread: 
    https://community.ibm.com/community/user/power/communities/community-home/digestviewer/viewthread?GroupId=6211&MessageKey=41bf2a08-0f26-442a-b2db-8f0aa3465933&CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=digestviewer

    Which explains :

    The best way to install packages from AIX toolbox is via dnf because it resolves dependencies and install packages for you. 
    For gcc we are providing two packages one that provides actual libraries and binaries and other that provides symblinks to make it default.
    This is done to keep multiple versions of gcc on system. More information about this can be found on the following blog.
    https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2020/12/17/aix-gcc-multi-version-support-improvements?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9

    Currently gcc-8 is default for AIX 7.1 and 7.2 and gcc-10 for AIX 7.3. Hence there are two packages and its dependencies that you will have to install.
    1. gcc-8-1 (Provides symblink to create gcc and libgcc in default path)
    2. gcc8-8.3.0-6 (provides actual libraries and binaries)

    I hope this helps!

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