[MDEV-19960] error while loading shared libraries Created: 2019-07-05  Updated: 2019-07-21  Resolved: 2019-07-21

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Affects Version/s: 10.2.25
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: troy lever Assignee: Unassigned
Resolution: Not a Bug Votes: 0
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...



 Comments   
Comment by Elena Stepanova [ 2019-07-21 ]

If you are using binary tarballs, you have to take care of dependencies yourself, since there is no package manager to do it for you. In this case, you need to install the missing library.

Generated at Thu Feb 08 08:55:40 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.