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
Expand all | Collapse all

To install httpd-2.4.62-1.aix7.1.ppc.rpm on 7200-05 was errors dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6) and conflict with libgcc = 4.8.2-1.

  • 1.  To install httpd-2.4.62-1.aix7.1.ppc.rpm on 7200-05 was errors dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6) and conflict with libgcc = 4.8.2-1.

    Posted 28 days ago
    Customer tried to install httpd-2.4.62-1.aix7.1.ppc.rpm on 7200-05 via "dnf" command.
     
    To install httpd-2.4.62-1.aix7.1.ppc.rpm on 7200-05 was errors dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6) and conflict with libgcc = 4.8.2-1.
     
    Steps as customer did and errors for each step.
     
    1. Customer using dnf bundle file by download from IBM ESS portal (size about 8 GB).
       1.1 After installed the dnf bundle with shown "dnf installed successfully".
       1.2 Then customer tried to run "dnf update" was thorws errors.
       
    CTE : root@SUATACBSDEP01:/system/REPO/RPMS/ppc=] /opt/freeware/bin/dnf updatre
    Traceback (most recent call last):
    File "/opt/freeware/bin/dnf", line 57, in <module>
    from dnf.cli import main
    File "/opt/freeware/lib/python3.9/site-packages/dnf/__init__.py", line 32, in <module>
    import dnf.base
    File "/opt/freeware/lib/python3.9/site-packages/dnf/base.py", line 29, in <module>
    import libdnf.transaction
    File "/opt/freeware/lib/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
    from . import common_types
    File "/opt/freeware/lib/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
    from . import _common_types
    ImportError: 0509-130 Symbol resolution failed for /opt/freeware/lib/libdnf.a(libdnf.so.2) because:
    0509-136 Symbol _GLOBAL__AIXI_shr_o (number 4) is not exported from
    dependent module /opt/freeware/lib/pthread/libgcc_s.a(shr.o).
    0509-136 Symbol _GLOBAL__AIXD_shr_o (number 5) is not exported from
    dependent module /opt/freeware/lib/pthread/libgcc_s.a(shr.o).
    0509-136 Symbol atexit (number 15) is not exported from
    dependent module /opt/freeware/lib/pthread/libgcc_s.a(shr.o).
    0509-136 Symbol _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev (number 293) is not exported from
    dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6).
    0509-136 Symbol _ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev (number 294) is not exported from
    dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6).
    0509-136 Symbol _ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev (number 295) is not exported from
    dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6).
    0509-021 Additional errors occurred but are not reported.
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.
     
    Customer tried to fix above errors.
    1. Download and install additional rpm files: 
        # rpm -Uvh libgcc-8-1.aix7.2.ppc.rpm libstdcplusplus-8-1.aix7.2.ppc.rpm libgcc8-8.3.0-6.aix7.2.ppc.rpm libstdcplusplus8-8.3.0-6.aix7.2.ppc.rpm
         Command failed because dependencies for libgcc = 4.8.2-1
    2. By set LIBPATH=/usr/opt/rpm/lib/:/opt/freeware/lib/pthread/:/opt/freeware/lib:/usr/lib
    3. Then run "dnf" command throws errors 
    CTE : root@SUATACBSDEP01:/root=] export LIBPATH=/usr/opt/rpm/lib/:/opt/freeware/lib/pthread/:/opt/freeware/lib:/usr/lib
    CTE : root@SUATACBSDEP01:/root=] dnf
    Traceback (most recent call last):
      File "/opt/freeware/bin/dnf", line 57, in <module>
    from dnf.cli import main
      File "/opt/freeware/lib/python3.9/site-packages/dnf/__init__.py", line 32, in <module>
    import dnf.base
      File "/opt/freeware/lib/python3.9/site-packages/dnf/base.py", line 29, in <module>
    import libdnf.transaction
      File "/opt/freeware/lib/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
    from . import common_types
      File "/opt/freeware/lib/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
    from . import _common_types
    ImportError:    0509-130 Symbol resolution failed for /opt/freeware/lib/libdnf.a(libdnf.so.2) because:
    0509-136   Symbol _GLOBAL__AIXI_shr_o (number 4) is not exported from
       dependent module /opt/freeware/lib/pthread/libgcc_s.a(shr.o).
    0509-136   Symbol _GLOBAL__AIXD_shr_o (number 5) is not exported from
       dependent module /opt/freeware/lib/pthread/libgcc_s.a(shr.o).
    0509-136   Symbol atexit (number 15) is not exported from
       dependent module /opt/freeware/lib/pthread/libgcc_s.a(shr.o).
    0509-136   Symbol _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev (number 293) is not exported from
       dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6).
    0509-136   Symbol _ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev (number 294) is not exported from
       dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6).
    0509-136   Symbol _ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev (number 295) is not exported from
       dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6).
    0509-021 Additional errors occurred but are not reported.
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.
    CTE : root@SUATACBSDEP01:/root=]
      
       
    2. Then customer decided to download file dnf_bundle_aix_71_72.tar size: 276M
     
       Then run.
    # tar -xvf dnf_bundle_aix_71_72.tar
    # ./install_dnf.sh -d
     
    Errors:
     
    Installing the packages...
     
    warning: dnf-4.2.17-32_5.aix7.1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    error: Failed dependencies:
    dnf = 4.2.17-32_4 is needed by (installed) yum-4.2.17-32_4.noarch
    dnf-data = 4.2.17-32_4 is needed by (installed) yum-4.2.17-32_4.noarch
    libgcc = 4.8.2-1 is needed by (installed) gcc-4.8.2-1.ppc
    Customer's questions.
      Q1: Refer number 1 above, please advice how to fix errors and then continue to use dnf install the "httpd-2.4.62-1.aix7.1.ppc.rpm" file.
      Q2: Refer number 2 above, Is there a way remove libgcc.4.8.2-1 or remove all for old opensource packages? 
             Because customer needs to fresh install the "dnf_bundle_aix_71_72.tar" again.
     
    Regards,
    Charin Kumjudpai.


    ------------------------------
    CHARIN KUMJUDPAI
    ------------------------------


  • 2.  RE: To install httpd-2.4.62-1.aix7.1.ppc.rpm on 7200-05 was errors dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6) and conflict with libgcc = 4.8.2-1.

    Posted 28 days ago
    Edited by Ranjit Ranjan 28 days ago

    Hi

    As many methods are tried , we need to understand the current status of the system, first.
    'dnf update' should work first, then we will see httpd install.
    Share the output of below without any LIBPATH set. 
        rpm -qa
        dnf update

    Thanks
    Ranjit



    ------------------------------
    Ranjit Ranjan
    ------------------------------