Build for Netgear R7800

Hi, I tried updating to both master-r19863-fd72e595c2-20220620 & owrt2203-r19450-515404a81b-20220619 and afterwards curl (possibly more) stopped working. What's worse, even when downgrading back to OpenWrt 22.03-SNAPSHOT, r19370-e90f74feb6 (which previously worked) curl remains broken. When trying to run it says:

root@openwrt:~# curl
Error loading shared library libwolfssl.so.5.3.0.ee39414e: No such file or directory (needed by /usr/bin/curl)
Error relocating /usr/bin/curl: curl_easy_header: symbol not found
Error relocating /usr/bin/curl: curl_easy_nextheader: symbol not found

I have a script that installs all my extra packages after each upgrade (luci-app-nut luci-app-unbound luci-app-uhttpd ntpd ntp-utils mc msmtp curl snmpd ca-certificates luci-app-upnp ca-bundle knot-dig bc rsyslog ddns-scripts-noip bind-host bash sshpass mosquitto-ssl tcpdump-mini) and that logged these:

Collected errors:
 * resolve_conffiles: Existing conffile /etc/msmtprc is different from the conffile in the new package. The new conffile will be placed at /etc/msmtprc-opkg.
 * resolve_conffiles: Existing conffile /etc/config/snmpd is different from the conffile in the new package. The new conffile will be placed at /etc/config/snmpd-opkg.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-nf-reject6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-nf-ipt
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-nf-log
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-nf-log6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-nf-ipt6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-nf-reject
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-ipt-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-ip6tables
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-nfnetlink
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-nf-conntrack
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-nf-conntrack6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-nf-nat
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-crypto-hash
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-crypto-crc32c
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-lib-crc32c
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-nft-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-nft-compat
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.125-1-8e33a0b32a2bbc7ea449ef8047fb3db2) for kmod-nf-conntrack-netlink
 * resolve_conffiles: Existing conffile /etc/rsyslog.conf is different from the conffile in the new package. The new conffile will be placed at /etc/rsyslog.conf-opkg.
 * resolve_conffiles: Existing conffile /etc/mosquitto/mosquitto.conf is different from the conffile in the new package. The new conffile will be placed at /etc/mosquitto/mosquitto.conf-opkg.

How could I get it working again? Thanks!