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

OQGRAPH cannot be installed on CentOS 6.5/RHEL 6.5

    Details

      Description

      Try to install MariaDB-oqgraph-engine.x86_64. See it fail because it requires libJudy, which does not exist in CentOS/RHEL 6. It works on Fedora, and I notice there are "EPEL" packages (which means you need to enable yet another repository for this to work). But out of the box, this is a problem.

      See output:

      [root@mariadb ~]# cat /etc/redhat-release 
      CentOS release 6.5 (Final)
      [root@mariadb ~]# yum install MariaDB-oqgraph-engine
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile
       * base: mirror.trouble-free.net
       * extras: mirror.trouble-free.net
       * updates: centos.someimage.com
      Setting up Install Process
      Resolving Dependencies
      --> Running transaction check
      ---> Package MariaDB-oqgraph-engine.x86_64 0:10.0.8-1 will be installed
      --> Processing Dependency: libJudy.so.1()(64bit) for package: MariaDB-oqgraph-engine-10.0.8-1.x86_64
      --> Finished Dependency Resolution
      Error: Package: MariaDB-oqgraph-engine-10.0.8-1.x86_64 (mariadb)
                 Requires: libJudy.so.1()(64bit)
       You could try using --skip-broken to work around the problem
       You could try running: rpm -Va --nofiles --nodigest
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              serg Sergei Golubchik added a comment -

              There isn't much we can do about it. Correct, OQGraph v3 needs libjudy. Correct, libjudy is not in the official Fedora repository. But we cannot change either of that.

              We could

              • add libjudy packages to our yum repository
              • link with libjudy statically

              Neither looks like a good solution to me.

              Show
              serg Sergei Golubchik added a comment - There isn't much we can do about it. Correct, OQGraph v3 needs libjudy. Correct, libjudy is not in the official Fedora repository. But we cannot change either of that. We could add libjudy packages to our yum repository link with libjudy statically Neither looks like a good solution to me.
              Hide
              elenst Elena Stepanova added a comment -

              So, there are two additional steps needed to get it work:

              wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
              rpm -Uvh epel-release-6-8.noarch.rpm
              

              At the very least, it should be documented in the KB (so far I could only find it in Ivan Stoykov's blog https://mariadb.com/blog/install-mysql-mariadb-version-10010-connect-and-oqgraph-engine-centos-65-minimal-mariadb-audit).

              But also, maybe we could add a note about that in the repo template which is used by the repository tool. Now if I choose CentOS 6 64 bit / 10.0, I get this:

              # MariaDB 10.0 CentOS repository list - created 2014-10-09 12:31 UTC
              # http://mariadb.org/mariadb/repositories/
              [mariadb]
              name = MariaDB
              baseurl = http://yum.mariadb.org/10.0/centos6-amd64
              gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
              gpgcheck=1
              

              It could be something like

              # MariaDB 10.0 CentOS repository list - created 2014-10-09 12:31 UTC
              # http://mariadb.org/mariadb/repositories/
              # If you want to install OQGRAPH engine, please first do the following:
              # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
              # rpm -Uvh epel-release-6-8.noarch.rpm
              [mariadb]
              name = MariaDB
              ...
              
              Show
              elenst Elena Stepanova added a comment - So, there are two additional steps needed to get it work: wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh epel-release-6-8.noarch.rpm At the very least, it should be documented in the KB (so far I could only find it in Ivan Stoykov's blog https://mariadb.com/blog/install-mysql-mariadb-version-10010-connect-and-oqgraph-engine-centos-65-minimal-mariadb-audit ). But also, maybe we could add a note about that in the repo template which is used by the repository tool . Now if I choose CentOS 6 64 bit / 10.0, I get this: # MariaDB 10.0 CentOS repository list - created 2014-10-09 12:31 UTC # http://mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.0/centos6-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 It could be something like # MariaDB 10.0 CentOS repository list - created 2014-10-09 12:31 UTC # http://mariadb.org/mariadb/repositories/ # If you want to install OQGRAPH engine, please first do the following: # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -Uvh epel-release-6-8.noarch.rpm [mariadb] name = MariaDB ...
              Hide
              elenst Elena Stepanova added a comment -

              Meanwhile assigning to Ian Gilfillan for documenting.

              Show
              elenst Elena Stepanova added a comment - Meanwhile assigning to Ian Gilfillan for documenting.
              Hide
              greenman Ian Gilfillan added a comment -

              This has now been documented on the Installing OQGRAPH page at https://mariadb.com/kb/en/mariadb/documentation/storage-engines/oqgraph-storage-engine/installing-oqgraph/

              Will re-assign to dbart to add the note to the repo tool.

              Show
              greenman Ian Gilfillan added a comment - This has now been documented on the Installing OQGRAPH page at https://mariadb.com/kb/en/mariadb/documentation/storage-engines/oqgraph-storage-engine/installing-oqgraph/ Will re-assign to dbart to add the note to the repo tool.

                People

                • Assignee:
                  dbart Daniel Bartholomew
                  Reporter:
                  colin Colin Charles
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated: