Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
5.5.28a-galera
-
Fedora 17
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:
sudo yum install galera
|
Loaded plugins: langpacks, presto, refresh-packagekit
|
Resolving Dependencies
|
--> Running transaction check
|
---> Package galera.x86_64 0:23.2.2-1.rhel5 will be installed
|
--> Processing Dependency: libcrypto.so.6()(64bit) for package: galera-23.2.2-1.rhel5.x86_64
|
--> Processing Dependency: libssl.so.6()(64bit) for package: galera-23.2.2-1.rhel5.x86_64
|
--> Restarting Dependency Resolution with new changes.
|
--> Running transaction check
|
---> Package galera.x86_64 0:23.2.2-1.rhel5 will be installed
|
--> Finished Dependency Resolution
|
Error: Package: galera-23.2.2-1.rhel5.x86_64 (mariadb)
|
Requires: libssl.so.6()(64bit)
|
Error: Package: galera-23.2.2-1.rhel5.x86_64 (mariadb)
|
Requires: libcrypto.so.6()(64bit)
|
You could try using --skip-broken to work around the problem
|
You could try running: rpm -Va --nofiles --nodigest
|
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.
If I build the library from sources, it links with .10 versions which are there:
libssl.so.10 => /lib64/libssl.so.10 (0x00007f895cc23000)
|
libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f895c889000)
|
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)
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
Loaded plugins: langpacks, presto, refresh-packagekit
Examining galera-23.2.4-1.rhel6.x86_64.rpm: galera-23.2.4-1.rhel6.x86_64
Marking galera-23.2.4-1.rhel6.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package galera.x86_64 0:23.2.4-1.rhel6 will be installed
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package galera.x86_64 0:23.2.4-1.rhel6 will be installed
--> Finished Dependency Resolution
$ echo $?
0
$ rpm -qa | grep -i galera
$
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
Preparing... ########################################### [100%]
1:galera ########################################### [100%]
And after that it's possible to install MariaDB-Galera-server.
We need to figure out why yum installation does not work.