AIX Open Source

 View Only
  • 1.  Program start not possible with IBM Semeru Java11

    Posted Fri April 28, 2023 07:01 AM

    Hello,

    We try to start a new software which requires IBM Semeru Java11. Currently we always fail with the following output:


    We set LIBPATH before trying it with the pathes mentioned for java11 files and for the libc++ libraries.
    LIBPATH=/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/pthread/ppc64:/usr/lpp/xlC/lib/aix61/:/usr/lpp/xlC/lib/profiled/aix61/:/usr/lpp/xlC/lib/profiled/:/usr/lpp/xlC/lib/:/usr/java11/jdk-11.0.18+10/lib/default/

    The fileset versions should be correct:
    lslpp -l xlC\*
      Fileset                      Level  State      Description
      ----------------------------------------------------------------------------
    Path: /usr/lib/objrepos
      xlC.aix61.rte             16.1.0.8  COMMITTED  IBM XL C++ Runtime for AIX 6.1
                                                     and later
      xlC.cpp                    9.0.0.0  COMMITTED  C for AIX Preprocessor
      xlC.msg.en_US.cpp          9.0.0.0  COMMITTED  C for AIX Preprocessor
                                                     Messages--U.S. English
      xlC.msg.en_US.rte         16.1.0.8  COMMITTED  IBM XL C++ Runtime
                                                     Messages--U.S. English
      xlC.rte                   16.1.0.8  COMMITTED  IBM XL C++ Runtime for AIX
      xlC.sup.aix50.rte          9.0.0.1  COMMITTED  XL C/C++ Runtime for AIX 5.2


    dump -X64 -Hov /usr/lib/libicuuc.a

    /usr/lib/libicuuc.a[libicuuc.so]:

                            ***Object Module Header***
    # Sections      Symbol Ptr      # Symbols       Opt Hdr Len     Flags
             5      0x0041cf36          59953               120     0x3002
    Flags=( EXEC DYNLOAD SHROBJ DEP_SYSTEM )
    Timestamp = "May 14 14:27:09 2020"
    Magic = 0x1f7  (64-bit XCOFF)

                            ***Optional Header***
    Tsize       Dsize       Bsize       Tstart      Dstart
    0x002508e9  0x00066c47  0x000007e8  0x100000240  0x110000b29

    SNloader    SNentry     SNtext      SNtoc       SNdata
    0x0004      0x0000      0x0001      0x0002      0x0002

    TXTalign    DATAalign   TOC         vstamp      entry
    0x0007      0x0003      0x11005f9b0  0x0001      0xffffffffffffffff

    maxSTACK    maxDATA     SNbss       magic       modtype
    0x00000000  0x00000000  0x0003      0x010b        RE

                            ***Loader Section***
                          Loader Header Information
    VERSION#         #SYMtableENT     #RELOCent        LENidSTR
    0x00000001       0x00000f06       0x0000685d       0x000000e5

    #IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
    0x00000006       0x0007ee98       0x00025649       0x0007ef7d


                            ***Import File Strings***
    INDEX  PATH                          BASE                MEMBER
    0      ../lib:../stubdata:/opt/IBM/xlmass/9.1.0/lib/aix61:/opt/IBM/xlc/16.1.0/lib:/opt/IBM/xlC/16.1.0/lib:/usr/lib:/lib
    1                                    libicudata.a        libicudata.so
    2                                    libpthread.a        shr_xpg5_64.o
    3                                    libc++.a            shr_64.o
    4                                    libc++.a            cxxabi_64.o
    5                                    libc.a              shr_64.o

    /usr/lib/libicuuc.a[shr_64.o]:

                            ***Object Module Header***
    # Sections      Symbol Ptr      # Symbols       Opt Hdr Len     Flags
             5      0x0041cf36          59953               120     0x7002
    Flags=( EXEC DYNLOAD SHROBJ LOADONLY DEP_SYSTEM )
    Timestamp = "May 14 14:27:09 2020"
    Magic = 0x1f7  (64-bit XCOFF)

                            ***Optional Header***
    Tsize       Dsize       Bsize       Tstart      Dstart
    0x002508e9  0x00066c47  0x000007e8  0x100000240  0x110000b29

    SNloader    SNentry     SNtext      SNtoc       SNdata
    0x0004      0x0000      0x0001      0x0002      0x0002

    TXTalign    DATAalign   TOC         vstamp      entry
    0x0007      0x0003      0x11005f9b0  0x0001      0xffffffffffffffff

    maxSTACK    maxDATA     SNbss       magic       modtype
    0x00000000  0x00000000  0x0003      0x010b        RE

                            ***Loader Section***
                          Loader Header Information
    VERSION#         #SYMtableENT     #RELOCent        LENidSTR
    0x00000001       0x00000f06       0x0000685d       0x000000e5

    #IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
    0x00000006       0x0007ee98       0x00025649       0x0007ef7d


                            ***Import File Strings***
    INDEX  PATH                          BASE                MEMBER
    0      ../lib:../stubdata:/opt/IBM/xlmass/9.1.0/lib/aix61:/opt/IBM/xlc/16.1.0/lib:/opt/IBM/xlC/16.1.0/lib:/usr/lib:/lib
    1                                    libicudata.a        libicudata.so
    2                                    libpthread.a        shr_xpg5_64.o
    3                                    libc++.a            shr_64.o
    4                                    libc++.a            cxxabi_64.o
    5                                    libc.a              shr_64.o




    Has anyone a recommendation on what to check or what to try? Currently I`m out of ideas.

    Best regards,
    Lukas



    ------------------------------
    Lukas Vo.
    ------------------------------


  • 2.  RE: Program start not possible with IBM Semeru Java11

    Posted Fri April 28, 2023 07:55 AM

    Please check if you have libc++.rte fileset installed in the system. You can run the following  command to verify.

    lslpp -l|grep libc++
     



    ------------------------------
    RESHMA KUMAR
    ------------------------------



  • 3.  RE: Program start not possible with IBM Semeru Java11

    IBM Champion
    Posted Fri April 28, 2023 08:55 PM
    Edited by Satid Singkorapoom Fri April 28, 2023 09:03 PM

    Dear Lukas

    From the information you posted, do I understand correctly that you are running AIX 6.1 or 7.1?  You need at least AIX 7.1 TL5 to run Semeru Runtime version 8, 11, or 17. This information can be found here : Semeru Runtimes support at https://www.ibm.com/support/pages/semeru-runtimes-support, then go to section Supported platforms.    If you already run AIX 7.1 TL5, other information in this web page may be useful for you to check it out.



    ------------------------------
    Education is not the learning of facts but the training of the mind to think. -- Albert Einstein.
    ------------------------------
    Satid S.
    ------------------------------



  • 4.  RE: Program start not possible with IBM Semeru Java11

    Posted Mon May 01, 2023 10:42 AM

    I think you do not have c++ runtime needed for this Java.

    There would be some documentation what level of c++ runtime and from where to install.

    As per my knowledge it is provided by libc++.rte fileset and that can be obtained from IBM compiler

    https://www.ibm.com/support/pages/what-libcrte-and-should-i-install-it-part-c-runtime-installation

     

    Thanks,

     

    Sanket Rathi

     






  • 5.  RE: Program start not possible with IBM Semeru Java11

    Posted Wed May 03, 2023 07:30 AM

    Hello to you all,

    First thank you very much for your messages on this issue.
    It seems like libc++.rte is not installed and I will install it now. Will give a feedback once I`ve done the installation.

    Best regards,
    Lukas



    ------------------------------
    Lukas Vo.
    ------------------------------