These are the settings on my bookworm install:
pds@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
NAME="Raspbian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pds@raspberrypi:~ $ uname -a
Linux raspberrypi 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
pds@raspberrypi:~ $ dpkg --print-architecture
armhf
pds@raspberrypi:~ $ arch
aarch64
---
/boot/config.txt
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-7inch
/boot/cmdline.txt
console=serial0,115200 console=tty1 root=PARTUUID=74443147-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=AU video=HDMI-A-1:1920x1080M@60
---
This is what happens when I run. I can't seem to find this lib.
pds@raspberrypi:~/Dev/Clock $ ./Clock
./Clock: error while loading shared libraries: libopenmaxil.so: cannot open shared object file: No such file or directory