Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
11.4.3
-
Ubuntu 24.04, MariaDB 11.4.3
Description
We are currently upgrading all our systems from Ubuntu 22.04 to 24.04 (do-release-upgrade). After the upgrade completed we found, that MariaDB CLI client (mariadb) does not work any more.
MariaDB client was installed from: mariadb-11.4.3-linux-systemd-x86_64.tar.gz
- mariadb -uroot
mariadb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
- type mariadb
mariadb is hashed (/home/mysql/product/mariadb-11.4/bin/mariadb)
- ldd /home/mysql/product/mariadb-11.4/bin/mariadb
linux-vdso.so.1 (0x00007fffc7ffb000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x000073e27ebbc000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x000073e27ebb7000)
libncurses.so.5 => not found
libtinfo.so.5 => not found
libstdc+.so.6 => /lib/x86_64-linux-gnu/libstdc+.so.6 (0x000073e27da00000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000073e27eacc000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000073e27d600000)
/lib64/ld-linux-x86-64.so.2 (0x000073e27ebc9000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x000073e27ea9f000)
Ubuntu 24.04 seems to NOT support libcures.so.5 any more. So IMHO needs a fix.
Workaround:
—
wget http://archive.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.4-2_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/n/ncurses/libncurses5_6.4-2_amd64.deb
apt install ./libtinfo5_6.4-2_amd64.deb ./libncurses5_6.4-2_amd64.deb
—
Attachments
Issue Links
- duplicates
-
MDEV-34562 tarballs link dynamically with ncurses5 - don't work on RHEL8+9
- Closed
-
MDEV-34861 Generic Linux build (.tar.gz) still depends on openssl1.0.0 for galera support, ncurses5 for client
- Closed
- is part of
-
MDBF-794 Link bintar binaries statically with libncurses
- Closed
- relates to
-
MDEV-26265 bintars depend on dynamic libraries
- Closed
-
MDEV-32111 Debian does not have ncurses 5.x anymore
- Closed