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.  sudo fails

    Posted Fri March 23, 2018 06:29 AM

    Originally posted by: sorenbronsted


    I have installed sudo but fails with:

     

    -bash-4.4$ sudo -s
    Could not load program sudo:
    Symbol resolution failed for /opt/freeware/libexec/sudo/libsudo_util.so because:
            Symbol memset_s (number 93) is not exported from dependent
              module /usr/lib/libc.a(shr.o).
    System error: Error 0
    Examine .loader section symbols with the 'dump -Tv' command.

     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: sudo fails

    Posted Fri March 23, 2018 09:55 AM

    Originally posted by: sangameshm


    Please let us know the version of sudo you have installed and the version of AIX.

    Also i think the sudo installed is from the AIX Toolbox?

     

    Thanks,

    Sangamesh


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 3.  Re: sudo fails

    Posted Tue April 03, 2018 01:15 AM

    Originally posted by: Scott Centoni


    I am experiencing this exact issue with AIX 7100-00-03-1115 and sudo 1.8.20p2 installed via yum.

    -bash-4.4$ sudo ls
    exec(): 0509-036 Cannot load program sudo because of the following errors:
            0509-130 Symbol resolution failed for /opt/freeware/libexec/sudo/libsudo_util.so because:
            0509-136   Symbol memset_s (number 93) is not exported from
                       dependent module /usr/lib/libc.a(shr.o).
            0509-026 System error: Error 0
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.
    -bash-4.4$ lslpp -l bos.rte.libc
      Fileset                      Level  State      Description
      ----------------------------------------------------------------------------
    Path: /usr/lib/objrepos
      bos.rte.libc              7.1.0.15  COMMITTED  libc Library
    
    Path: /etc/objrepos
      bos.rte.libc              7.1.0.15  COMMITTED  libc Library
    -bash-4.4$ dump -Tv /usr/lib/libc.a |grep memset
    /usr/lib/libc.a[memset.o]:
    [459]   0x0000e008    undef   ImpExp     XO EXTref        [noIMid] ___memset
    [887]   0x00070878    .data      EXP     DS SECdef        [noIMid] memset
    [2572]  0x00075b20    .data      EXP     DS SECdef        [noIMid] wmemset
    

    #AIXOpenSource
    #AIX-Open-Source-Software