[MDEV-5664] OQGRAPH cannot be installed on CentOS 6.5/RHEL 6.5 Created: 2014-02-12  Updated: 2017-12-06  Resolved: 2017-12-06

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Affects Version/s: 10.0.8, 10.0.14
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Colin Charles Assignee: Daniel Bartholomew
Resolution: Fixed Votes: 0
Labels: oqgraph
Environment:

CentOS 6.5
MariaDB installed from repositories at http://yum.mariadb.org/10.0/centos6-amd64


Issue Links:
PartOf
includes MDEV-5432 Install libjudy on buildbot slaves Closed

 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



 Comments   
Comment by Sergei Golubchik [ 2014-02-12 ]

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.

Comment by Elena Stepanova [ 2014-10-09 ]

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

Comment by Elena Stepanova [ 2014-10-09 ]

Meanwhile assigning to greenman for documenting.

Comment by Ian Gilfillan [ 2014-10-09 ]

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.

Comment by Daniel Bartholomew [ 2017-12-06 ]

Note added to the repo tool directing people to the Installing OQGraph page in the Knowledge Base.

Comment by Daniel Bartholomew [ 2017-12-06 ]

I believe this is resolved, so closing issue

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