2009-07-01 21:56:57

by Kay Sievers

[permalink] [raw]
Subject: Re: [PATCH] configure.in: add --disable-libuuid option (Was:libuuid (Re: blkid: util-linux-ng vs. e2fsprogs))

On Wed, Jul 1, 2009 at 23:28, Theodore Tso<[email protected]> wrote:
> On Wed, Jul 01, 2009 at 03:04:43PM -0600, Matthew Burgess wrote:
>> I get the following output when trying to compile e2fsprogs-1.41.7
>> against util-linux-ng-2.16-rc1's installed versions of libuuid &
>> libblkid
>
> Thanks for pointing that out.  Apparently GNU make wasn't failing when
> "-luuid" was in the dependency, which is why I didn't notice this
> earlier.  I'm not sure why it complains with "-L/tools/lib", but not
> with "-luuid", but whatever.  I've checked the following into the
> e2fsprogs maint branch.

I had a similar issue, caused by a wrong libdir in the util-linux's
*.pc files. They have libdir=/lib instead libdir=/usr/lib, and in some
setups the devel-symlink isn't found, which is usually in /usr.

Only the local build on one of my boxes failed, but editing the .pc
files solved the problem.

(The real location of the .so image does not matter, it's a detail
hidden and handled by the ld loader, and the .pc files should always
poit to the devel symlink to the .so.)

Kay