Bug#797800: lvm2 configure.in, librt.so vs librt.pc

Peter Rajnoha prajnoha at redhat.com
Thu Sep 3 07:38:38 UTC 2015


On 09/02/2015 07:35 PM, Andreas Henriksson wrote:
> Hello Alasdair G Kergon.
> 
> I'm mailing you because of an issue I've run into which I think comes
> from your commit:
> https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=3cd644aeb5cac432a92ad50584973a3430168ed6
> 
> On Debian there's librt.so but no librt.pc.
> 

I think librt.pc file is not present at all (at least
not in glibc upstream repo).

I've patched this, the -lrt should be stated under
Libs.private:

https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=fc35b6988d65fe3f11a3f668cd8f01fe3294b562

There's also -lm which is also used, but it was
not mentioned in the devmapper.pc.

-- 
Peter



More information about the pkg-lvm-maintainers mailing list