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

Galera library is not installable from MariaDB yum repository on Fedora

    XMLWordPrintable

Details

    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)

      Attachments

        Issue Links

          Activity

            People

              nirbhay_c Nirbhay Choubey (Inactive)
              elenst Elena Stepanova
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.