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

I can't finish my_install_db using binary tar distribution

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.1.10
    • 10.1.12
    • Packaging
    • 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 ?

      Attachments

        Activity

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

          elenst Elena Stepanova added a comment - 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).

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

          serg Sergei Golubchik added a comment - Let's see if we can link generic tarball binaries with jemalloc statically. Then they won't have a run-time dependency.
          jerrylin Ze Yu Lin added a comment -

          Where can I look for the dependencies list?

          jerrylin Ze Yu Lin added a comment - Where can I look for the dependencies list?

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

          serg Sergei Golubchik added a comment - binary tarballs will now be linked with a static jemalloc library and won't have run-time jemalloc dependency anymore
          aplatypus william mason added a comment -

          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.

          aplatypus william mason added a comment - 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.

          People

            serg Sergei Golubchik
            jerrylin Ze Yu Lin
            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.