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.  libstdc++.so.6 Missing - AIX

    Posted 2 days ago

    Hi Team ,

    getting below library error in AIX

    0509-15-Dependent module libstdc++.a(libstdc++.so.6) could not be loaded.
    0509-022 Could not load module libstdc++.a(libstdc++.so.6).
    0509-026 -System error: A file or directory in the name path does not exist.

    Below RPMs are present

    root@:/opt/freeware/lib#rpm -qa | grep -i libstdc
    libstdc++8-8.3.0-6.ppc
    libstdc++-8-1.ppc

    Below file is present /opt/freeware/lib

    root@:/opt/freeware/lib#ls -rlt libstd*
    lrwxrwxrwx    1 root     system           40 Jan 05 2024  libstdc++.a -> gcc/powerpc-ibm-aix7.2.0.0/8/libstdc++.a
    root@COLAPPUAT:/opt/freeware/lib#

    root@:/opt/freeware/lib#ls -l /opt/freeware/lib/pthread/ppc64/libstdc++.a
    lrwxrwxrwx    1 root     system           60 Jan 05 2024  /opt/freeware/lib/pthread/ppc64/libstdc++.a -> ../../gcc/powerpc-ibm-aix7.2.0.0/8/pthread/ppc64/libstdc++.a



    ------------------------------
    Allwyn Menezes
    ------------------------------


  • 2.  RE: libstdc++.so.6 Missing - AIX

    Posted 5 hours ago

    @Allwyn Menezes

    What is the output of the below commands?

    ls -l /opt/freeware/lib/libstdc++.a 
    ar -tuv /opt/freeware/lib/libstdc++.a
    echo $LIBPATH



    ------------------------------
    Aditya Kamath
    ------------------------------