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

Debian does not have ncurses 5.x anymore

Details

    Description

      Debian Sid (which will become Trixie) has dropped support for NCurses 5.x and only NCurses 6.x is supported.

      Attachments

        Issue Links

          Activity

            I just installed the bintar 10.11.7 on Ubuntu 23.10 and the mysql CLI binary still requires libncurses5. The release notes also do not mention a switch to libncurses6.

            dh@cantamen.de Dirk Hillbrecht added a comment - I just installed the bintar 10.11.7 on Ubuntu 23.10 and the mysql CLI binary still requires libncurses5. The release notes also do not mention a switch to libncurses6.

            Thank you for reporting this. Trixie is unstable and Ubuntu is based on Debian 12 which is stable they are more conservative on now a days on Ubuntu than on Debian to break things.

            Does it automatically solve problems or does it need some extra work?

            illuusio Tuukka Pasanen added a comment - Thank you for reporting this. Trixie is unstable and Ubuntu is based on Debian 12 which is stable they are more conservative on now a days on Ubuntu than on Debian to break things. Does it automatically solve problems or does it need some extra work?

            As I wrote in MDEV-26265, I install the libncurses5 (and libtinfo5) from Ubuntu 23.04's deb files. Then it works. But that's no long-term solution.

            dh@cantamen.de Dirk Hillbrecht added a comment - As I wrote in MDEV-26265 , I install the libncurses5 (and libtinfo5) from Ubuntu 23.04's deb files. Then it works. But that's no long-term solution.

            Sorry I'm little bit confused. Is there still some parts of tarbin 10.11.7 still linked against ncurses5 and some are ncurses6?

            illuusio Tuukka Pasanen added a comment - Sorry I'm little bit confused. Is there still some parts of tarbin 10.11.7 still linked against ncurses5 and some are ncurses6?
            dh@cantamen.de Dirk Hillbrecht added a comment - - edited

            This is what happens:

            monospaced text
            👍 Finished. MariaDB is installed from mariadb-10.11.7-linux-systemd-x86_64.tar.gz, configured and launched
            root@fridoline:/etc/cantamen-config# mysql -p
            mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
            root@fridoline:/etc/cantamen-config# ls -al $(which mysql)
            lrwxrwxrwx 1 root root 75 Feb 8 09:36 /usr/local/bin/mysql -> /usr/local/cantamen-packages/mariadb-10.11.7-linux-systemd-x86_64/bin/mysql
            root@fridoline:/etc/cantamen-config# cd recipes/mariadb/libncurses5-ubuntu-23.10/
            root@fridoline:/etc/cantamen-config/recipes/mariadb/libncurses5-ubuntu-23.10# ls -al
            total 220
            drwxr-xr-x 2 root root 4096 Jan 31 22:27 .
            drwxr-xr-x 4 root root 4096 Feb 8 09:34 ..
            rw-rr- 1 root root 106880 Jan 31 22:27 libncurses5_6.4-2ubuntu0.1_amd64.deb
            rw-rr- 1 root root 99514 Jan 31 22:27 libtinfo5_6.4-2ubuntu0.1_amd64.deb
            rw-rr- 1 root root 485 Jan 31 22:27 README.md
            root@fridoline:/etc/cantamen-config/recipes/mariadb/libncurses5-ubuntu-23.10# apt install ./libtinfo5_6.4-2ubuntu0.1_amd64.deb ./libncurses5_6.4-2ubuntu0.1_amd64.deb
            [...]
            Hinweis: »libtinfo5« wird an Stelle von »./libtinfo5_6.4-2ubuntu0.1_amd64.deb« gewählt.
            Hinweis: »libncurses5« wird an Stelle von »./libncurses5_6.4-2ubuntu0.1_amd64.deb« gewählt.
            Die folgenden NEUEN Pakete werden installiert:
            libncurses5 libtinfo5
            [...]
            libtinfo5:amd64 (6.4-2ubuntu0.1) wird eingerichtet ...
            libncurses5:amd64 (6.4-2ubuntu0.1) wird eingerichtet ...
            Trigger für libc-bin (2.38-1ubuntu6.1) werden verarbeitet ...
            root@fridoline:/etc/cantamen-config/recipes/mariadb/libncurses5-ubuntu-23.10# which mysql
            /usr/local/bin/mysql
            root@fridoline:/etc/cantamen-config/recipes/mariadb/libncurses5-ubuntu-23.10# mysql -p
            Enter password:
            Welcome to the MariaDB monitor. Commands end with ; or \g.
            Your MariaDB connection id is 3
            Server version: 10.11.7-MariaDB MariaDB Server

            Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

            Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

            MariaDB [(none)]> Bye
            root@fridoline:/etc/cantamen-config/recipes/mariadb/libncurses5-ubuntu-23.10#

            Without installed libncurses5 libs, the "mysql" binary (from 10.11.7) complains about them not being there. Installing the libraries makes the error go away. So, yes, to me it seems that at least the "mysql" binary is still linked against libncurses5.

            dh@cantamen.de Dirk Hillbrecht added a comment - - edited This is what happens: monospaced text 👍 Finished. MariaDB is installed from mariadb-10.11.7-linux-systemd-x86_64.tar.gz, configured and launched root@fridoline:/etc/cantamen-config# mysql -p mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory root@fridoline:/etc/cantamen-config# ls -al $(which mysql) lrwxrwxrwx 1 root root 75 Feb 8 09:36 /usr/local/bin/mysql -> /usr/local/cantamen-packages/mariadb-10.11.7-linux-systemd-x86_64/bin/mysql root@fridoline:/etc/cantamen-config# cd recipes/mariadb/libncurses5-ubuntu-23.10/ root@fridoline:/etc/cantamen-config/recipes/mariadb/libncurses5-ubuntu-23.10# ls -al total 220 drwxr-xr-x 2 root root 4096 Jan 31 22:27 . drwxr-xr-x 4 root root 4096 Feb 8 09:34 .. rw-r r - 1 root root 106880 Jan 31 22:27 libncurses5_6.4-2ubuntu0.1_amd64.deb rw-r r - 1 root root 99514 Jan 31 22:27 libtinfo5_6.4-2ubuntu0.1_amd64.deb rw-r r - 1 root root 485 Jan 31 22:27 README.md root@fridoline:/etc/cantamen-config/recipes/mariadb/libncurses5-ubuntu-23.10# apt install ./libtinfo5_6.4-2ubuntu0.1_amd64.deb ./libncurses5_6.4-2ubuntu0.1_amd64.deb [...] Hinweis: »libtinfo5« wird an Stelle von »./libtinfo5_6.4-2ubuntu0.1_amd64.deb« gewählt. Hinweis: »libncurses5« wird an Stelle von »./libncurses5_6.4-2ubuntu0.1_amd64.deb« gewählt. Die folgenden NEUEN Pakete werden installiert: libncurses5 libtinfo5 [...] libtinfo5:amd64 (6.4-2ubuntu0.1) wird eingerichtet ... libncurses5:amd64 (6.4-2ubuntu0.1) wird eingerichtet ... Trigger für libc-bin (2.38-1ubuntu6.1) werden verarbeitet ... root@fridoline:/etc/cantamen-config/recipes/mariadb/libncurses5-ubuntu-23.10# which mysql /usr/local/bin/mysql root@fridoline:/etc/cantamen-config/recipes/mariadb/libncurses5-ubuntu-23.10# mysql -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 3 Server version: 10.11.7-MariaDB MariaDB Server Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)] > Bye root@fridoline:/etc/cantamen-config/recipes/mariadb/libncurses5-ubuntu-23.10# Without installed libncurses5 libs, the "mysql" binary (from 10.11.7) complains about them not being there. Installing the libraries makes the error go away. So, yes, to me it seems that at least the "mysql" binary is still linked against libncurses5.
            illuusio Tuukka Pasanen added a comment - - edited

            Tarbin is build on builder which does not have NCurses 6 I think. That is why it's not linked against it. Ubuntu 23.10 Deb package should be. It's kind mix of static and dynamic linked binaries. Tarbin is not ncurses 6 at least for now.

            illuusio Tuukka Pasanen added a comment - - edited Tarbin is build on builder which does not have NCurses 6 I think. That is why it's not linked against it. Ubuntu 23.10 Deb package should be. It's kind mix of static and dynamic linked binaries. Tarbin is not ncurses 6 at least for now.

            People

              illuusio Tuukka Pasanen
              illuusio Tuukka Pasanen
              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.