Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1.10
-
None
-
linux
-
10.1.12
Description
Hi ,
When I executed mysql_install_db ,I got a message :
error while loading shared libraries: libjemalloc.so.1: cannot open shared object file: No such file or directory
-bash-4.2$ ./mysql_install_db --defaults-file=/mariadb/cnf_home/3308.cnf --user=mysql --basedir=/mariadb/db_home/mariadb-10.1.10 --datadir=/mariadb/data_home/3308
Installing MariaDB/MySQL system tables in '/mariadb/data_home/3308' ...
/mariadb/db_home/mariadb-10.1.10/bin/mysqld: error while loading shared libraries: libjemalloc.so.1: cannot open shared object file: No such file or directory
I look at this binary tar file ,I can't find this library .
Is the binary tar file forget to put the libjemalloc.so library file ?
Unlike OS-specific packages, binary tarballs are generic, and also they cannot pull dependencies automatically. If you decide to use binary tarballs instead of OS-specific packages, you need to take care of the dependencies yourself. libjemalloc.so.1 is one of them, you need to find it and install it on your system (you didn't mention what system that is, so I cannot suggest where to look).