Bug#390243: Why I wasn't using pkg-config to for libdevmapper....
Theodore Tso
tytso at MIT.EDU
Wed Jan 2 02:03:20 UTC 2008
On Tue, Jan 01, 2008 at 06:50:16PM -0600, Eric Sandeen wrote:
> Theodore Tso wrote:
>
> > The problem is that devmapper.pc needs to patched as follows:
> >
> > --- /usr/lib/pkgconfig/devmapper.pc.orig 2007-09-24 11:29:27.000000000 -0400
> > +++ /usr/lib/pkgconfig/devmapper.pc 2008-01-01 18:55:37.000000000 -0500
> > @@ -8,4 +8,4 @@
> > Version: "1.02.20 (2007-06-15)"
> > Cflags: -I${includedir}
> > Libs: -L${libdir} -ldevmapper
> > -Libs.private: -lselinux -lsepol
> > +Requires.private: libselinux libsepol
> >
> > Eric, can you confirm whether or not Fedora has this bug fixed?
>
> As of F8, it does not... I'll ask the maintainer about it.
>
If this bug is also in Fedora 8, I can't see how the patch you
forwarded me could have possibly worked, since when e2fsck.static gets
built, it will blow up since it's missing necessary libraries that
need to be included when statically linking. This is why I'm really
not a fan of pkg-config...
- Ted
More information about the pkg-lvm-maintainers
mailing list