[MDEV-9475] I can't finish my_install_db using binary tar distribution Created: 2016-01-27  Updated: 2016-05-24  Resolved: 2016-02-23

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Affects Version/s: 10.1.10
Fix Version/s: 10.1.12

Type: Bug Priority: Major
Reporter: Ze Yu Lin Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None
Environment:

linux


Sprint: 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 ?



 Comments   
Comment by Elena Stepanova [ 2016-01-27 ]

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).

Comment by Sergei Golubchik [ 2016-01-27 ]

Let's see if we can link generic tarball binaries with jemalloc statically. Then they won't have a run-time dependency.

Comment by Ze Yu Lin [ 2016-01-28 ]

Where can I look for the dependencies list?

Comment by Sergei Golubchik [ 2016-02-23 ]

binary tarballs will now be linked with a static jemalloc library and won't have run-time jemalloc dependency anymore

Comment by william mason [ 2016-05-24 ]

Hello

I have this same problem. I used the 10.1.10 linux 64 bit distribution

Since I did not see a relevant Release id for the projected fix ... I'm unsure of the Universe where this kind of fundamental issue can be "closed" with NO kind of work-around or alternative to get mariadb (aka mysql) on a linux box.

From my reading of the trail here, there will be something done. At some time, there will be an installer/tar that will work.

The rest of us wanting to get some miles running/using and evaluating mariadb are up the sxxx-creek with no paddle.

Generated at Thu Feb 08 07:34:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.