[Pacemaker] minimizing cluster-glue dependencies

Pádraig Brady P at draigBrady.com
Tue Sep 6 18:34:04 UTC 2011


Currently anything that links with pacemaker-libs also
needs to have access to all the cluster-glue-libs.
In a bid to reduce this I've created a subset of clplumbing
as a "libtool convenience library" within pacemaker.
I've just done this as a patch and extra source archive
in the rpm for the moment.

This rpm now separates out pacemaker-pengine-libs including:

/usr/lib64/libcrmcommon.so.2
/usr/lib64/libpe_rules.so.2
/usr/lib64/libpe_status.so.3
/usr/lib64/libpengine.so.3
/usr/lib64/libtransitioner.so.1

They in turn only depend on:

libbz2.so.1()(64bit)
libc.so.6()(64bit)
libdl.so.2()(64bit)
libglib-2.0.so.0()(64bit)
libgnutls.so.26()(64bit)
libltdl.so.7()(64bit)
libncurses.so.5()(64bit)
libpam.so.0()(64bit)
libpe_status.so.3()(64bit)
librt.so.1()(64bit)
libtinfo.so.5()(64bit)
libuuid.so.1()(64bit)
libuuid.so.1(UUID_1.0)(64bit)
libxml2.so.2()(64bit)
libxslt.so.1()(64bit)

As a future task we could adjust the pacemaker code
to require less or non of cluster-glue-libs
and any ideas for that direction are appreciated.

The src rpm for the above is at:
http://www.pixelbeat.org/pacemaker-1.1.5-2.fc15.src.rpm

cheers,
Pádraig.




More information about the Pacemaker mailing list