[MDEV-9633] libgalera_smm.so moved from lib/ to lib/galera without documentation. Created: 2016-02-25  Updated: 2016-02-26  Resolved: 2016-02-26

Status: Closed
Project: MariaDB Server
Component/s: Documentation, Galera
Affects Version/s: 10.1.11
Fix Version/s: 10.0.24-galera

Type: Bug Priority: Major
Reporter: Dzmitry Bradnitski Assignee: Nirbhay Choubey (Inactive)
Resolution: Fixed Votes: 0
Labels: galera, mariadb
Environment:

centos 6.6 x64



 Description   

In mariadb 10.0.x tar.gz distros libgalera_smm.so located in lib/libgalera_smm.so
But at least in mariadb 10.1.11(I suspect all 10.1.x) it's moved to lib/galera/libgalera_smm.so . There is no documentation for this change as well as error log doesn't contain any warnings.



 Comments   
Comment by Elena Stepanova [ 2016-02-25 ]

Does it cause any real problems? As far as I can see, there is a symlink

lib/libgalera_smm.so -> galera/libgalera_smm.so

Still, nirbhay_c, please check if it is expected, and if so, if it should be documented somewhere.

Comment by Nirbhay Choubey (Inactive) [ 2016-02-25 ]

dbart Hi! Did we change/update the library path in the script that packs it in server bintar?

Comment by Daniel Bartholomew [ 2016-02-25 ]

nirbhay_c: the packages that the libgalera_smm.so is extracted from have the library at /usr/lib*/galera/libgalera_smm.so and I didn't change it.

The glibc_214 bintars do have a symlink under /usr/lib*/, but the other bintars do not.

Let me know what should be done and I'll make the necessary adjustments to the location. Thanks.

Comment by Nirbhay Choubey (Inactive) [ 2016-02-25 ]

dbart

Let me know what should be done and I'll make the necessary adjustments to the location. Thanks.

Not sure. I am trying to figure out what exactly triggered this change.

  • mariadb-10.1.10-linux-x86_64/lib/libgalera_smm.so
  • mariadb-10.1.11-linux-x86_64/lib/galera/libgalera_smm.so
  • mariadb-10.1.12-linux-x86_64/lib/galera/libgalera_smm.so
  • mariadb-10.1.10-linux-x86_64/lib/libgalera_smm.so

Looks the like change occurred on 10.1.11 release, but IIRC the directory structure for galera packages did not change around that release.

Comment by Nirbhay Choubey (Inactive) [ 2016-02-25 ]

Both locations are fine with me, its just we have to ensure that the file location does not change with release.

Comment by Daniel Bartholomew [ 2016-02-26 ]

I think the best path forward will be to unify the location between the bintar, rpm, and deb packages, so in the bintars the location going forward will remain lib/galera/libgalera_smm.so with a symlink in the lib/ directory that points to it. I've implemented this for the MariaDB Galera Cluster 10.0.24 release coming out today (and I've made a note of it in the release notes). I've also added a note about the change to: https://mariadb.com/kb/en/getting-started-with-mariadb-galera-cluster/

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