Installing MariaDB - where is wsrep-provider?

2 posts / 0 new
Last post
#1 Wed, 2016-09-21 10:32
kt-marc
  • kt-marc's picture
  • Offline
  • Last seen: 1 year 6 months ago
  • Joined: 2016-09-21

Other distributions provide a galera library, which position has to be set in the my.cnf file:

wsrep_provider=/usr/lib64/galera/libgalera_smm.so

On apline linux I can't find any library having "galera" in its name.

When starting MariaDB, the following output is logged:

[Note] WSREP: wsrep_load(): loading provider library 'none'

and WSREP is not available.

How can I fix that?

Thank You,
Marc

Thu, 2016-12-08 18:05
jake
  • jake's picture
  • Offline
  • Last seen: 1 year 3 months ago
  • Joined: 2015-11-23

The mariadb package would need to be rebuilt with...

-DWITH_WSREP=ON -DWITH_INNODB_DISALLOW_WRITES=ON

...being passed to cmake.

I'm looking forward to having a galera-enabled mariadb too, but just haven't had the time to make it happen myself yet...

Official instructions here: https://mariadb.com/kb/en/mariadb/installating-galera-from-source/

Log in or register to post comments