Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-34987

Upgrade from Ubuntu 22.04 to 24.04 breaks MariaDB client (from tarball)

    XMLWordPrintable

Details

    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

      1. mariadb -uroot
        mariadb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
      1. type mariadb
        mariadb is hashed (/home/mysql/product/mariadb-11.4/bin/mariadb)
      1. 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

          Activity

            People

              Unassigned Unassigned
              oli Oli Sennhauser
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.