www.centos.org Forum Index CentOS 5 - General Support Unable to find liblvm2clusterlock.so in any rpm
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread | Rated: 5 Votes |
|---|
|
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
|
|||
|
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
|
|||
|
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
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
5 Votes
fsoulier






You cannot start a new topic.
You can view topic.