Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198882 - sys-apps/coreutils-6.9-r1 mv is linked against /usr/lib
Summary: sys-apps/coreutils-6.9-r1 mv is linked against /usr/lib
Status: RESOLVED DUPLICATE of bug 149472
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-12 03:00 UTC by georg.lippold
Modified: 2007-11-12 08:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description georg.lippold 2007-11-12 03:00:15 UTC
ldd /bin/mv gives

        linux-gate.so.1 =>  (0xffffe000)
        libacl.so.1 => /lib/libacl.so.1 (0xb7ec3000)
        libc.so.6 => /lib/libc.so.6 (0xb7d93000)
        libattr.so.1 => /lib/libattr.so.1 (0xb7d8e000)
        libnfsidmap.so.0 => /usr/lib/libnfsidmap.so.0 (0xb7d84000)
        /lib/ld-linux.so.2 (0xb7eec000)
        libldap-2.3.so.0 => /usr/lib/libldap-2.3.so.0 (0xb7d4a000)
        liblber-2.3.so.0 => /usr/lib/liblber-2.3.so.0 (0xb7d3d000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7d2b000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7d13000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7ccb000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7b78000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7b73000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7b45000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb7b1c000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb7a9e000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7a9b000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7a74000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7a6b000)

As mv is installed in /bin it should be linked only against libraries that live in /lib.

As I have a separate /usr partition, mv (and possibly other coreutils) do not work on system startup when /usr is not mounted. This should not happen. I know that I could USE="static" for coreutils, but I would rather have the lib-files in /lib than in /usr/lib (because otherwise I waste space) or let coreutils filter the linking against libs from /usr/lib.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-12 08:10:44 UTC

*** This bug has been marked as a duplicate of bug 149472 ***