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.  gawk_64 | libpsl | libgsasl

    Posted Wed November 22, 2023 11:57 AM
    Edited by sype Tue November 28, 2023 09:31 AM

    Hello all, I am not really sure where else to look for such a specific error, but I am getting the following when attempting to compile a project. 

    Error:
     
        configure: WARNING: Continuing even with errors mentioned immediately above this line.
    lsattr: 0514-519 The following device was not found in the customized
    	device configuration database:
     
    configure: WARNING: libpsl was not found
    configure: WARNING: libgsasl was not found
    configure: WARNING: Continuing even with errors mentioned immediately above this line.
    Could not load program gawk_64:
    Symbol resolution failed for gawk_64 because:
    	Symbol _GLOBAL__AIXI_libintl_so (number 176) is not exported from dependent
    	  module /usr/lib/libintl.a[libintl.so.8].
    	Symbol _GLOBAL__AIXD_libintl_so (number 177) is not exported from dependent
    	  module /usr/lib/libintl.a[libintl.so.8].
    Examine .loader section symbols with the 'dump -Tv' command.
    config.status: error: could not create Makefile

    Here is my ENV Loadout: 

    SHELL=/usr/bin/ksh
    LC__FASTMSG=true
    ODMDIR=/etc/objrepos
    CLCMD_PASSTHRU=1
    AUTHSTATE=compat
    PWD=/
    LOGNAME=root
    TZ=CST6CDT
    HOME=/
    LANG=en_US
    TERM=xterm-256color
    USER=root
    LOGIN=root
    SHLVL=1
    LOCPATH=/usr/lib/nls/loc
    MAILMSG=[YOU HAVE NEW MAIL]
    PATH=/opt/IBM/xlc/13.1.3/bin:/opt/IBM/xlC/13.1.3/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/opt/freeware/bin
    MAIL=/usr/spool/mail/root
    A__z=! LOGNAME
    _=/usr/bin/env
    NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/%l.%c/%N:/usr/lib/nls/msg/%l.%c/%N.cat
    You have mail in /usr/spool/mail/root

    • lslpp -l | grep intl

      • shows nothing

    dump -Tv /opt/freeware/lib/libintl.a | grep GLOBAL 

    shows:

    bash-5.1# dump -Tv /opt/freeware/lib/libintl.a | grep GLOBAL
    [2]     0x00000000    undef      IMP     DS EXTref libgcc_s.a(shr.o) _GLOBAL__AIXI_shr_o
    [3]     0x00000000    undef      IMP     DS EXTref libgcc_s.a(shr.o) _GLOBAL__AIXD_shr_o
    [4]     0x00000000    undef      IMP     DS EXTref /opt/freeware/lib/libiconv.a(libiconv.so.2) _GLOBAL__AIXI_libiconv_so
    [5]     0x00000000    undef      IMP     DS EXTref /opt/freeware/lib/libiconv.a(libiconv.so.2) _GLOBAL__AIXD_libiconv_so
    [68]    0x20000e2c    .data      EXP     DS   Ldef        [noIMid] _GLOBAL__AIXI_libintl_so
    [69]    0x20000e38    .data      EXP     DS   Ldef        [noIMid] _GLOBAL__AIXD_libintl_so

     



    ------------------------------
    sype
    ------------------------------


    #AIXOpenSource


  • 2.  RE: gawk_64 | libpsl | libgsasl

    Posted Wed November 22, 2023 02:23 PM

    Weird that gawk_64 is trying to use /usr/lib/libintl.a. That file is a symlink provided by rpm.rte to a file in /usr/opt/rpm/lib. It's part of the rpm lpp. The other libintl.a is provided by gettext rpm and is in /opt/freeware/lib, as you've identified already.

    Maybe LIBPATH is being set in the Makefile in a way that affects gawk_64? Can you run gawk_64 on the command line? You're also throwing WARNINGs before the failure that suggest you might have an environment issue.



    ------------------------------
    Mario
    ------------------------------



  • 3.  RE: gawk_64 | libpsl | libgsasl

    Posted Wed November 22, 2023 03:43 PM
    Edited by sype Tue November 28, 2023 09:31 AM

    Yes I can use gawk_64 command:

    bash-5.1# which gawk_64
    /opt/freeware/bin/gawk_64
    bash-5.1# gawk_64 --version
    GNU Awk 5.2.2, API 3.2, (GNU MPFR 4.1.0, GNU MP 6.2.1)

    on the two warnings, where would I find those binaries or libraries to install?

    configure: WARNING: libpsl was not found
    configure: WARNING: libgsasl was not found



    ------------------------------
    sype
    ------------------------------



  • 4.  RE: gawk_64 | libpsl | libgsasl
    Best Answer

    Posted Wed November 22, 2023 03:47 PM

    So the problem is in your Makefile. Look for library paths.



    ------------------------------
    Mario
    ------------------------------



  • 5.  RE: gawk_64 | libpsl | libgsasl

    Posted Wed November 22, 2023 05:13 PM
    Edited by sype Tue November 28, 2023 09:29 AM


  • 6.  RE: gawk_64 | libpsl | libgsasl

    Posted Tue November 28, 2023 09:29 AM
    Edited by sype Tue November 28, 2023 09:31 AM

    This was my problem. We were doing some overrides on the software aspect of our build. We fixed that and the problem went away. Thanks for the help again. 



    ------------------------------
    sype
    ------------------------------