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

Cannot compile CONNECT engine in CentOS 6

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not a Bug
    • 10.0.16
    • N/A
    • Compiling
    • None
    • CentOS 6 x86_64

    Description

      I tried to compile MariaDB 10.0.16 in CentOS and everything is OK except CONNECT plugin refuses to build. Is this related to the missing linux-vdso.so.1 library present in 3.x kernel or a specific ODBC version?

      # ldd /usr/lib64/mysql/plugin/ha_connect.so
      	linux-vdso.so.1 =>  (0x00007fffeaf62000)
      	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7e158e4000)
      	libz.so.1 => /lib64/libz.so.1 (0x00007f7e156ce000)
      	libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f7e1537b000)
      	libodbc.so.2 => /usr/lib64/libodbc.so.2 (0x00007f7e15114000)
      	libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f7e14e0e000)
      	libm.so.6 => /lib64/libm.so.6 (0x00007f7e14b89000)
      	libc.so.6 => /lib64/libc.so.6 (0x00007f7e147f5000)
      	/lib64/ld-linux-x86-64.so.2 (0x00000039dd000000)
      	libdl.so.2 => /lib64/libdl.so.2 (0x00007f7e145f1000)
      	libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f7e143e7000)
      	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f7e141d1000)

      All other libraries are present in my build system.

      # uname -a
      Linux apollo 2.6.32-504.8.1.el6.x86_64 #1 SMP Wed Jan 28 21:11:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
      # rpm -q unixODBC-devel
      unixODBC-devel-2.2.14-14.el6.x86_64

      As a side note, I noticed the /etc//my.cnf.d/oqgraph.cnf file does not exist by default. I had to create it manually during build time.

      [mariadb]
      plugin-load-add = ha_oqgraph.so

      Attachments

        Activity

          People

            Unassigned Unassigned
            Floren Floren Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.