CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - General Support
  Unable to find liblvm2clusterlock.so in any rpm

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread Rated:  5 Votes
  •  fsoulier
      fsoulier
Unable to find liblvm2clusterlock.so in any rpm
#1
Newbie
Joined: 2007/1/9
From Toulouse
Posts: 5
Hi,
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 !!
Posted on: 2007/5/15 11:46
Create PDF from Post Print
Top
  •  pjwelsh
      pjwelsh
Re: Unable to find liblvm2clusterlock.so in any rpm
#2
Professional Board Member
Joined: 2007/1/7
From Central IL USA
Posts: 2561
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...
Posted on: 2007/5/15 21:49
Create PDF from Post Print
Top
  •  karlhangas
      karlhangas
Re: Unable to find liblvm2clusterlock.so in any rpm
#3
Newbie
Joined: 2007/6/18
From
Posts: 1
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:
/usr/lib/liblvm2clusterlock.so
/usr/lib/liblvm2clusterlock.so.2.02
** change the man file name in the %files section:
%{_mandir}/man8/clvmd.8
as it expects somewhere the non gzipped version
* once saved the spec file instruct a "rpmbuild -bb <specfile>"
* 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.
Posted on: 2007/6/18 11:03
Create PDF from Post Print
Top
  •  The_Vulpecula
      The_Vulpecula
Re: Unable to find liblvm2clusterlock.so in any rpm
#4
Jr Board Member
Joined: 2007/6/7
From
Posts: 36
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....
Posted on: 2007/6/18 12:16
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com