Mariadb not installing on 23.05

Hey all I have been trying to install mariadb on my openwrt v. 23.05 running on ARMv7 Processor rev 1 (v7l).

When running:
opkg install libreadline libncursesw uclibcxx libmysqlclient mysql-server

I get:

Package libreadline (8.1-1) installed in root is up to date.
Package libncurses (6.3-3) installed in root is up to date.
Package uclibcxx (0.2.5-3) installed in root is up to date.
Package libmariadb (3.1.12-4) installed in root is up to date.
Unknown package 'mysql-serveropkg'.
Collected errors:
 * opkg_install_cmd: Cannot install package mysql-serveropkg.
Unknown package 'update'.
Collected errors:
 * opkg_install_cmd: Cannot install package update.
Package libreadline (8.1-1) installed in root is up to date.
Package libncurses (6.3-3) installed in root is up to date.
Package uclibcxx (0.2.5-3) installed in root is up to date.
Package libmariadb (3.1.12-4) installed in root is up to date.
Package mariadb-server (10.6.15-2) installed in root is up to date.

When installing using:
mysql_install_db --force
I get the following errors:

root@turris:~# mysql_install_db  --forcemysql_install_db  --force
Error relocating /usr/./bin/my_print_defaults: __getrusage_time64: symbol not found
Error relocating /usr/./bin/my_print_defaults: __lstat_time64: symbol not found
Error relocating /usr/./bin/my_print_defaults: __stat_time64: symbol not found
Error relocating /usr/./bin/my_print_defaults: __fstat_time64: symbol not found
Error relocating /usr/./bin/my_print_defaults: __clock_gettime64: symbol not found
Error relocating /usr/./bin/my_print_defaults: __pthread_cond_timedwait_time64: symbol not found
Installing MariaDB/MySQL system tables in './data' ...
Error loading shared library liburing.so.2: No such file or directory (needed by /usr/bin/mariadbd)
Error relocating /usr/bin/mariadbd: __getrusage_time64: symbol not found
Error relocating /usr/bin/mariadbd: __clock_gettime64: symbol not found
Error relocating /usr/bin/mariadbd: __nanosleep_time64: symbol not found
Error relocating /usr/bin/mariadbd: _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
Error relocating /usr/bin/mariadbd: __utime64: symbol not found
Error relocating /usr/bin/mariadbd: __fstat_time64: symbol not found
Error relocating /usr/bin/mariadbd: io_uring_mlock_size: symbol not found
Error relocating /usr/bin/mariadbd: _ZSt28__throw_bad_array_new_lengthv: symbol not found
Error relocating /usr/bin/mariadbd: __dlsym_time64: symbol not found
Error relocating /usr/bin/mariadbd: __gettimeofday_time64: symbol not found
Error relocating /usr/bin/mariadbd: __io_uring_get_cqe: symbol not found
Error relocating /usr/bin/mariadbd: __localtime64_r: symbol not found
Error relocating /usr/bin/mariadbd: __select_time64: symbol not found
Error relocating /usr/bin/mariadbd: __pthread_cond_timedwait_time64: symbol not found
Error relocating /usr/bin/mariadbd: __difftime64: symbol not found
Error relocating /usr/bin/mariadbd: __time64: symbol not found
Error relocating /usr/bin/mariadbd: io_uring_submit: symbol not found
Error relocating /usr/bin/mariadbd: __lstat_time64: symbol not found
Error relocating /usr/bin/mariadbd: io_uring_register_files_update: symbol not found
Error relocating /usr/bin/mariadbd: __stat_time64: symbol not found
Error relocating /usr/bin/mariadbd: io_uring_ring_dontfork: symbol not found
Error relocating /usr/bin/mariadbd: _ZNSs7reserveEv: symbol not found
Error relocating /usr/bin/mariadbd: __gmtime64_r: symbol not found
Error relocating /usr/bin/mariadbd: io_uring_queue_init: symbol not found
Error relocating /usr/bin/mariadbd: io_uring_queue_exit: symbol not found

So I’m not sure where to go from here?

This is not a generic Openwrt forum. It is meant for people using Turris OS, which is currently using Openwrt 22.

I am running turris on it. You may need to update yours if you’re not on 23.05.

Nope, 22.03 is used for current stable TOS 7.0.0:

Curiously, Turris OS 7.0 is exactly the point where system gets switched from 32-bit time to 64-bit time (I think), and your log certainly does look related to such a switch.

Are there any instructions on how I can downgrade back to the 32-bit version to see if that fixes it?

I believe this was the upstream change: musl time64 Release Notes No idea about OpenWrt; it feels off-topic on turris.cz, as I see no relation to the Turris HW really (except that it’s 32-bit) and you don’t run Turris OS.