Motherboard: Radxa Zero 3W (8G)
Operating System: radxa-zero3_bookworm_kde_b1.output_512.img.xz
Problem Description:
After flashing the system to the TF card per documentation, powering on the Radxa Zero 3W with the card inserted, and connecting via serial port, the sudo command fails:
radxa@radxa-zero3:~$ sudo su
sudo: error while loading shared libraries: /usr/libexec/sudo/libsudo_util.so.0: invalid ELF header
Is there an issue with this image? After troubleshooting, I suspect sudo is corrupted.
radxa@radxa-zero3:~$ ls -l /usr/libexec/sudo/
total 1132
-rw-r--r-- 1 root root 67760 Jun 24 2025 audit_json.so
-rw-r--r-- 1 root root 67544 Jun 24 2025 group_file.so
lrwxrwxrwx 1 root root 21 Jun 24 2025 libsudo_util.so -> libsudo_util.so.0.0.0
lrwxrwxrwx 1 root root 21 Jun 24 2025 libsudo_util.so.0 -> libsudo_util.so.0.0.0
-rw-r--r-- 1 root root 133888 Jun 24 2025 libsudo_util.so.0.0.0
-rwxr-xr-x 1 root root 67920 Jun 24 2025 sesh
-rw-r--r-- 1 root root 604632 Jun 24 2025 sudoers.so
-rw-r--r-- 1 root root 67688 Jun 24 2025 sudo_intercept.so
-rw-r--r-- 1 root root 67504 Jun 24 2025 sudo_noexec.so
-rw-r--r-- 1 root root 67536 Jun 24 2025 system_group.so