[MDEV-4141] Galera library is not installable from MariaDB yum repository on Fedora Created: 2013-02-06 Updated: 2015-01-13 Resolved: 2015-01-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 5.5.28a-galera |
| Fix Version/s: | 5.5.42-galera |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Fixed | Votes: | 3 |
| Labels: | galera, packaging | ||
| Environment: |
Fedora 17 |
||
| Issue Links: |
|
||||||||||||
| Description |
|
I tried Fedora 17, but I suppose it will be the same for 16 and 18. We have OS-specific packages for the server and Galera-server, but the galera library is the same rhel5 in all repositories (CentOS 5-6, Fedora 16-18). It installs all right on CentOS 5, but fails on Fedora 17 because it wants libssl.so.6 and libcrypto.so.6 which are not there:
There might be a workaround, some sources suggest to link existing libcrypto.so and libssl.so libraries to the required .6 names, but it didn't work for me so far. In any case, it doesn't look solid, hopefully we can fix it somehow.
There is a complication though, Fedora 17 comes with gcc 4.7.2 which doesn't work with the current release sources of galera, it was only fixed in the galera tree as a post-fix for https://bugs.launchpad.net/galera/+bug/926464 (revision: http://bazaar.launchpad.net/~codership/galera/2.x/revision/138) |
| Comments |
| Comment by Idar Lund [ 2013-02-14 ] |
|
Can confirm same error on F18, it also uses a newer version (10) of libcrypto/libssl |
| Comment by Idar Lund [ 2013-02-27 ] |
|
symlinking the crypt modules and installing without checking deps this issue has nothing to do with the crypt issue. |
| Comment by Elena Stepanova [ 2013-02-27 ] |
|
>> maybe make another jira post? Sure, please submit a separate report. |
| Comment by Sergei Golubchik [ 2013-03-03 ] |
|
Currently we don't build galera.rpm, but grab it from https://launchpad.net/galera/+download and put to our reporitory, so that yum would be able to satisfy the dependencies as needed. Seppo, if you'd like us to build galera.rpm instead, reassign the issue back please. But we'll need time to integrate this in our build process. |
| Comment by Idar Lund [ 2013-03-05 ] |
|
it's the same rpm as if you get it from mariadb repository; http://yum.mariadb.org/5.5/fedora18-amd64/rpms/ |
| Comment by Elena Stepanova [ 2013-03-05 ] |
|
Sergei's comment relates to my initial report, not to the one you submitted separately. It is about the galera RPM, which comes from Codership, even although you install it from mariadb.org repo. |
| Comment by Idar Lund [ 2013-03-05 ] |
|
okay |
| Comment by Elena Stepanova [ 2013-06-11 ] |
|
Raising the priority due to the upcoming 5.5.31-galera release. |
| Comment by Idar Lund [ 2013-06-12 ] |
|
still a problem |
| Comment by Elena Stepanova [ 2013-06-15 ] |
|
True, but it seems to be a different problem now. The new PRM (galera-23.2.4-1.rhel6) that we and Codership both have in the repo now installs on Fedora 17 all right through rpm, but doesn't work through yum. It doesn't fail and doesn't complain about dependencies, just ... doesn't get installed. $ sudo yum install galera-23.2.4-1.rhel6.x86_64.rpm Consequently, MariaDB-Galera-server doesn't install either. But installing the same galera RPM through rpm works: $ sudo rpm -ivh galera-23.2.4-1.rhel6.x86_64.rpm And after that it's possible to install MariaDB-Galera-server. We need to figure out why yum installation does not work. |
| Comment by Hiroaki KAWAI [ 2013-09-12 ] |
|
For the follwers, I'd like to put my workaround here for this issue. I created a galera rpm for fedora from source with following patch ( some are already fixed in bzr 2.x branch ):
-%attr(0755,root,root) %dir %{_bindir} -%attr(0755,root,root) %dir % {libs}+#%attr(0755,root,root) %dir %{libs} %attr(0755,root,root) % {libs}/libgalera_smm.so -%attr(0755,root,root) %dir % {docs}+#%attr(0755,root,root) %dir %{docs} %doc %attr(0644,root,root) % {docs}/COPYING%doc %attr(0644,root,root) %{docs} /README /README-MySQL
RPM_ARCH=$(uname -m | sed s/i686/i386/) ----------------------------- build and package (Fedora 18) Install galera rpm with yum and the, install MariaDB-Galera-server. |
| Comment by Oden Eriksson [ 2013-10-24 ] |
|
To me it looks like the packages was built on a rhel5 host that has openssl-0.9.8x that uses the soname 6. Later fedora uses openssl-1.x with another soname. Usually this operation when you try to install for example a rhel5 package on another distro release for example rhel6 (or distro for that matter) is unsupported by the distro vendor. Solution: For Fedora 17 use packages that are built for Fedora 17. EDIT: I just read the intial report again and missed that the problem is elsewhere. rhel5 packages has been put in the Fedora 17 yum repo. I see now at for example http://yum.mariadb.org/10.0/fedora18-x86/rpms/ this is the problem as with: Solution: Provide galera binaries for Fedora 18 built on Fedora 18. |
| Comment by Daniel Bartholomew [ 2013-10-24 ] |
|
That's only in the 10.0 repositories, which I haven't messed with much as MariaDB Galera Cluster is not available for them. Look instead at: http://yum.mariadb.org/5.5/fedora18-x86/rpms/ The package there was built on Fedora 18. But it doesn't work. Add the repo, issue a 'yum install galera' and it doesn't actually install it. |
| Comment by Nirbhay Choubey (Inactive) [ 2015-01-13 ] |
|
We are currently build MariaDB Galera server packages for fedora 19 and 20, galera packages supplied for those platforms install just fine. |