Bryan Kadzban wrote:

> Bruce Dubbs wrote:
>> blfs-dev <at> lfs lucasit com 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.

I'm not sure which distros are linking against libuuid statically, but I 
know Gentoo is not.

> 
> 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?

[snip list of files]

Here's my list, taken from my current Gentoo machine, as 1) I don't have a 
LFS build right now, and 2) current Portage keeps records for its own 
purposes, so I can just grep them.

By Gentoo package name:

app-admin/apache-tools-2.2.11
    /usr/sbin/htpasswd
    /usr/sbin/htdigest
    /usr/sbin/rotatelogs
    /usr/sbin/logresolve
    /usr/sbin/ab
    /usr/sbin/checkgid
    /usr/sbin/htdbm
    /usr/sbin/htcacheclean
    /usr/sbin/httxt2dbm
dev-libs/apr-1.3.5
    /usr/lib/libapr-1.so.0.3.5
dev-libs/apr-util-1.3.7
    /usr/lib/libaprutil-1.so.0.3.7
sys-apps/parted-1.8.8
    /usr/lib/libparted-1.8.so.8.0.0
sys-apps/util-linux-2.15.1
    /sbin/mkswap
sys-fs/e2fsprogs-1.41.6
    /sbin/e2fsck
    /sbin/debugfs
    /sbin/mke2fs
    /sbin/tune2fs
    /sbin/dumpe2fs
    /usr/bin/uuidgen
    /usr/sbin/uuidd
sys-fs/ntfsprogs-2.0.0-r1
    /usr/sbin/mkntfs
sys-libs/e2fsprogs-libs-1.41.6
    /lib/libblkid.so.1.0
www-servers/apache-2.2.11
    /usr/sbin/apache2
x11-libs/libSM-1.1.0
    /usr/lib/libSM.so.6.0.0

Note that 1) I've gotten rid of most of the *.la files on this machine, and 
2) I'm using LDFLAGS="-Wl,--as-needed" to build most packages on this 
machine.  Without at least one of those, just about everything that links 
directly or indirectly against any of the libraries on the above list would 
be included, because of how libtool works.

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

Reply via email to