Bruce Dubbs wrote:
> [email protected] wrote:
> 
>> Finally, back to util-linux-ng, per private mail with Karl Zak,
>> distros are only using static linking for libuuid, so *we* may want to
>> change Requires.private in the uuid.pc file, as we don't have to deal
>> with the dependency hell of RPM or DEB.

Hmm?  libuuid doesn't pull in anything else, so uuid.pc shouldn't need to
change.  Or did you mean something like changing blkid.pc, which pulls in
uuid.pc in its Requires.private line?

I guess I'm a bit confused here.  :-)

> Static linking for this is OK with me, but do we know all the packages
> that use libuuid?

On my machine, running ldd across all of {/usr,}/{,s}bin/* and looking for
libuuid yields a list of binaries that may give us this info.  However,
this is a fairly old build (and most of the base system is actually
clfs...), so this should probably be done by someone with a by-the-book
build at some point.  Anyway, the list:

/bin:
 mount (util-linux-ng)
 umount (util-linux-ng)

/sbin:
 blkid (e2fsprogs/util-linux-ng)
 debugfs (e2fsprogs)
 dumpe2fs (e2fsprogs)
 e2label (e2fsprogs)
 findfs (e2fsprogs)
 fsck (e2fsprogs)
 mke2fs (e2fsprogs)
 mkfs.ext2 (e2fsprogs)
 mkfs.ext3 (e2fsprogs)
 mkswap (util-linux-ng)
 swapon (util-linux-ng)
 tune2fs (e2fsprogs)

/usr/bin:
 uuidgen (e2fsprogs/util-linux-ng)

/usr/sbin:
 cryptsetup (dm-crypt)
 parted (parted)
 partprobe (parted)

I should note that many of these binaries pull in libuuid via libblkid
(since it links against libuuid on this box).  List of interesting things
in {,/usr}/lib{,64}/* that link against libuuid (again, found via ldd):

/lib:
 libblkid.so.1 (e2fsprogs/util-linux-ng)

/usr/lib64:
 e2initrd_helper (e2fsprogs)
 libcryptsetup.so.0 (dm-crypt)
 libparted-1.7.so.1 (parted)

I assume cryptsetup is linking it via libcryptsetup, but since that's a
(more or less) private library, it's not really worth doing anything
special with.  Same with parted/libparted.  And e2initrd_helper isn't a
library.

(And of course, this list can only be obtained because I didn't require
static linking the first time around.  :-P )

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to