When up upgrade from VIOS 3.1.x.x -> 4.1.x.x, it's not an in-place upgrade, it is a reinstall with a restoration of the VIO mapping configuration thus any additional tools, scripts etc that you have in your VIOs need to be reinstalled.
I would recommend that you install open-source software on AIX/VIO using dnf. This will make sure that all dependant software is also installed - you are missing a dependant library from your system.
I recommend that you remove sudo.rte, install dnf, then install the sudo_noldap package using dnf. Sudo has many dependencies that need to be installed along with it these days.
Phill.
------------------------------
Phill Rowbottom
Unix Consultant
Service Express
Bedford
------------------------------
Original Message:
Sent: Wed October 29, 2025 09:46 AM
From: venkat v
Subject: sudo issue 0509-036 Cannot load program visudo
Migrated VIO server from 3.1.4.50 to 4.1.1.0 and lost the sudo,
Installed the latest, but getting below issue, kindly help me to fix this issue on my VIO server.
# lslpp -l | grep -i sudo.*
sudo.rte 1.9.17.2 COMMITTED Configurable super-user
sudo.rte 1.9.17.2 COMMITTED Configurable super-user
# ls -ld /etc/sudoers*
-r--r----- 1 root system 5062 Oct 28 19:56 /etc/sudoers
drwxr-x--- 2 root system 256 Oct 29 17:51 /etc/sudoers.d
-r--r----- 1 root system 5062 Oct 29 17:51 /etc/sudoers.dist
-r--r----- 1 root system 5062 Oct 16 13:40 /etc/sudoers_28OCT25
#
# visudo
exec(): 0509-036 Cannot load program visudo because of the following errors:
0509-022 Cannot load module /opt/freeware/libexec/sudo/libsudo_util.a(libsudo_util.so.0).
0509-150 Dependent module libgcc_s.a(shr.o) could not be loaded.
0509-022 Cannot load module libgcc_s.a(shr.o).
0509-026 System error: A file or directory in the path name does not exist.
#
------------------------------
venkat v
------------------------------