Unable to find liblvm2clusterlock.so in any rpm

General support questions including new installations
Posts: 5
Joined: 2007/01/09 10:04:54
Location: Toulouse

Unable to find liblvm2clusterlock.so in any rpm

Postby fsoulier » 2007/05/15 11:46:19

I'm using Centos5 on x86_64 system.
I want to setup clvmd daemon .
Using standard lvm configuration with parameters : "locking_type = 2" and "locking_library = "liblvm2clusterlock.so"".
I'm encoutering a problem, i'm unable to find the "liblvm2clusterlock.so" file.
The standards packages : lvm2-2.02.16-3.el5 and lvm2-cluster-2.02.16-3.el5 doesn't own this file unlike in fedora core 6 where the file "liblvm2clusterlock.so" is
provided by the rpm lvm2-cluster.

Anyone as encoutered this problem ???
Is there another package where i can find this file or Is "liblvm2clusterlock.so" deprecated ???

Thanks for your help !!

Posts: 2575
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Unable to find liblvm2clusterlock.so in any rpm

Postby pjwelsh » 2007/05/15 21:49:43

The liblvm2clusterlock.so has been part of lvm2-cluster for a while now. It looks like an omission to me. You may want to file a bug about this for CentOS 5. Of course, like you said, it just may be depreciated now...

Posts: 1
Joined: 2007/06/18 10:11:47

Re: Unable to find liblvm2clusterlock.so in any rpm

Postby karlhangas » 2007/06/18 11:03:32

I had the same problem and managed to generate a rpm from src.rpm that installs the cluster locking library.

These are the steps I have followed:

* install the src.rpm, in my case "lvm2-cluster-2.02.16-3.el5.src.rpm"
* modify the spec file:
** eliminate this option "--enable-static_link" so that it allows shared library creation
** change this option "--with-cluster=internal" for "--with-cluster=shared"
** include in the %files section the libraries generated:
** change the man file name in the %files section:
as it expects somewhere the non gzipped version
* once saved the spec file instruct a "rpmbuild -bb "
* install the generated rpm which should have the same files as the binary one provided with the centos5 distro plus the .so libraries

I have still not tested it, so I cannot tell if it works. Hope it helps though.

Posts: 36
Joined: 2007/06/07 17:10:23

Re: Unable to find liblvm2clusterlock.so in any rpm

Postby The_Vulpecula » 2007/06/18 12:16:43

Did you try the yum command

yum provides "your file name here"

It should tell you which packages contains the file.

I dont have acces to my CentOS box right, cant try it....

Return to “CentOS 5 - General Support”

Who is online

Users browsing this forum: No registered users and 4 guests