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

error while loading shared libraries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not a Bug
    • Affects Version/s: 10.2.25
    • Fix Version/s: N/A
    • Component/s: OTHER
    • Labels:
      None
    • Environment:
      lubuntu disco 19.04

      Description

      I'm not much of a tech head so please do not assume much knowledge in the explanation. The post install note directs traffic here for issues so here I am, see below. Thanks!

      Followed install instructions here https://mariadb.com/kb/en/library/installing-mariadb-binary-tarballs/ having downloaded glibc 64 tarball from here https://downloads.mariadb.com/MariaDB/mariadb-10.2.25/

      Following install, after starting with ./bin/mysqld_safe --user=mysql &

      I ran './bin/mysql_secure_installation' as recommended in the information that came up in terminal post install.

      There was an error while loading shared libraries. See output below, cheers

      NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
            SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!
       
      In order to log into MariaDB to secure it, we'll need the current
      password for the root user.  If you've just installed MariaDB, and
      you haven't set the root password yet, the password will be blank,
      so you should just press enter here.
       
      Enter current password for root (enter for none): 
      /usr/local/mysql/bin/mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
      OK, successfully used password, moving on...
       
      Setting the root password ensures that nobody can log into the MariaDB
      root user without the proper authorisation.
       
      Set root password? [Y/n] y
      New password: 
      Re-enter new password: 
      /usr/local/mysql/bin/mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
      Password update failed!
      Cleaning up...
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            troy troy lever
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: