AIX Open Source

 View Only
  • 1.  sudo error

    Posted Tue July 16, 2024 09:24 AM

    I just updated from AIX 7200-01-01 to 7200-05-07 and I get an error when I run sudo. lowering the openldap version gets it working, but how do I get sudo working with the version I have?

    # oslevel -s
    7200-05-07-2346

    # rpm -qa | grep sudo
    sudo-1.8.15-2
    bash-4.3# rpm -qa | grep openldap
    openldap-devel-2.4.40-1
    openldap-2.4.44-5

    $ sudo -s
    sudo: error in /etc/sudo.conf, line 0 while loading plugin `sudoers_policy'
    sudo: unable to load /opt/freeware/libexec/sudo/sudoers.so: Symbol resolution failed for /usr/lib/libldap.a(libldap-2.4.so.2) because:
            Symbol strcmp (number 132) is not exported from dependent
              module /usr/lib/libcrypto.a(libcrypto.so.1.0.2).
            Symbol strncpy (number 158) is not exported from dependent
              module /usr/lib/libcrypto.a(libcrypto.so.1.0.2).
            Symbol strcpy (number 166) is not exported from dependent
              module /usr/lib/libcrypto.a(libcrypto.so.1.0.2).
            Symbol strcat (number 178) is not exported from dependent
              module /usr/lib/libcrypto.a(libcrypto.so.1.0.2).
    Could not load module /opt/freeware/libexec/sudo/sudoers.so.
    System error: Exec format error
    Examine .loader section symbols with the 'dump -Tv' command.
    sudo: fatal error, unable to load plugins



    ------------------------------
    NAOKI CHIKAHARA
    ------------------------------



  • 2.  RE: sudo error

    Posted Tue August 06, 2024 02:07 AM

    You have a openldap which is not from Toolbox. That openldap requires a different openssl rpm. I would recommend to use Toolbox openldap rpm.



    ------------------------------
    Ayappan P
    ------------------------------