Galera library is not installable from MariaDB yum repository on Fedora

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:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 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:

1 2 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)

Environment

Fedora 17

Status

Assignee

Nirbhay Choubey

Reporter

Elena Stepanova

Labels

External issue ID

None

External issue ID

None

Components

Fix versions

Affects versions

5.5.28a-galera

Priority

Critical