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

Missing libraries for builds of MariaDB for versions built on older versions of glibc

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 5.5.34-galera, 10.0.7
    • None
    • None
    • None
    • Linux x86_64 Centos 6.x, GLIBC 2.12

    Description

      The binary tar for 64bit Linux, and the RPM packages contain the Connect Engine with ODBC support and TokuDB only for the glibc 2.14+ package and newer linux distributions i.e. debian, fedora, ubuntu.

      ha_connect.so is missing libodbc.so.x:

      rbensley@rbensley:~$ ldd ~/Downloads/glibc_212/mariadb-10.0.7-linux-x86_64/lib/plugin/ha_connect.so 
      	linux-vdso.so.1 =>  (0x00007ffffd3fe000)
      	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2cb213c000)
      	libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f2cb1dd6000)
      	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f2cb1ad1000)
      	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f2cb17cd000)
      	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2cb1405000)
      	/lib64/ld-linux-x86-64.so.2 (0x00007f2cb2690000)
      	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2cb1200000)
      	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f2cb0fe7000)
      	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f2cb0dc5000)
      	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f2cb0bae000)
       

      And the ha_tokudb.so is completely missing.

      rbensley@rbensley:~$ ll ~/Downloads/glibc_212/mariadb-10.0.7-linux-x86_64/lib/plugin/
      total 34M
       20K -rw-r--r-- 1 rbensley rbensley  18K Dec 24 22:59 adt_null.so
       16K -rw-r--r-- 1 rbensley rbensley  13K Dec 24 22:59 auth_0x0100.so
       20K -rw-r--r-- 1 rbensley rbensley  19K Dec 24 22:59 auth_pam.so
       16K -rw-r--r-- 1 rbensley rbensley  14K Dec 24 22:59 auth_socket.so
       28K -rw-r--r-- 1 rbensley rbensley  25K Dec 24 22:59 auth_test_plugin.so
      4.0K -rw-r--r-- 1 rbensley rbensley  227 Dec 23 09:35 daemon_example.ini
       16K -rw-r--r-- 1 rbensley rbensley  15K Dec 24 22:59 dialog_examples.so
       40K -rw-r--r-- 1 rbensley rbensley  40K Dec 24 22:59 dialog.so
      4.5M -rw-r--r-- 1 rbensley rbensley 4.5M Dec 24 22:57 ha_connect.so
      260K -rw-r--r-- 1 rbensley rbensley 258K Dec 24 22:59 ha_example.so
      1.6M -rw-r--r-- 1 rbensley rbensley 1.6M Dec 24 22:59 handlersocket.so
      1.7M -rw-r--r-- 1 rbensley rbensley 1.7M Dec 24 22:59 ha_oqgraph.so
      232K -rw-r--r-- 1 rbensley rbensley 230K Dec 24 22:59 ha_sequence.so
      524K -rw-r--r-- 1 rbensley rbensley 523K Dec 24 22:59 ha_sphinx.so
      4.6M -rw-r--r-- 1 rbensley rbensley 4.6M Dec 24 22:56 ha_spider.so
      228K -rw-r--r-- 1 rbensley rbensley 225K Dec 24 22:59 ha_test_sql_discovery.so
       14M -rw-r--r-- 1 rbensley rbensley  14M Dec 24 22:57 ha_xtradb.so
       36K -rw-r--r-- 1 rbensley rbensley  36K Dec 24 22:59 libdaemon_example.so
      124K -rw-r--r-- 1 rbensley rbensley 121K Dec 24 22:59 locales.so
      204K -rw-r--r-- 1 rbensley rbensley 204K Dec 24 22:59 metadata_lock_info.so
       20K -rw-r--r-- 1 rbensley rbensley  19K Dec 24 22:59 mypluglib.so
       20K -rw-r--r-- 1 rbensley rbensley  18K Dec 24 22:59 mysql_clear_password.so
       20K -rw-r--r-- 1 rbensley rbensley  19K Dec 24 22:59 qa_auth_client.so
       24K -rw-r--r-- 1 rbensley rbensley  24K Dec 24 22:59 qa_auth_interface.so
       16K -rw-r--r-- 1 rbensley rbensley  14K Dec 24 22:59 qa_auth_server.so
      208K -rw-r--r-- 1 rbensley rbensley 207K Dec 24 22:59 query_cache_info.so
      268K -rw-r--r-- 1 rbensley rbensley 265K Dec 24 22:59 query_response_time.so
      496K -rw-r--r-- 1 rbensley rbensley 493K Dec 24 22:59 semisync_master.so
      408K -rw-r--r-- 1 rbensley rbensley 407K Dec 24 22:59 semisync_slave.so
      4.5M -rw-r--r-- 1 rbensley rbensley 4.5M Dec 24 22:59 sphinx.so
       20K -rw-r--r-- 1 rbensley rbensley  20K Dec 24 22:59 sql_errlog.so
       

      These should be included, I can confirm tokudb works on centos 6.2 and 6.5, as we are using the tokutek build of mariadb 5.5.30 + tokudb 7.10 in production.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mathnode Richard Bensley
              Votes:
              1 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.