Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165546 - coreutils-6.4 links against libraries in /usr
Summary: coreutils-6.4 links against libraries in /usr
Status: RESOLVED DUPLICATE of bug 149472
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-06 01:57 UTC by Dan Callaghan
Modified: 2007-02-06 07:32 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 Dan Callaghan 2007-02-06 01:57:13 UTC
After recently doing a fresh 2006.1 install and updating world, I found that many coreutils in /bin erroneously have dynamic links to libraries in /usr, e.g.:

# ldd /bin/cp
        libacl.so.1 => /lib/libacl.so.1 (0x00002b2e7c5f3000)
        libattr.so.1 => /lib/libattr.so.1 (0x00002b2e7c6ff000)
        libc.so.6 => /lib/libc.so.6 (0x00002b2e7c803000)
        libnfsidmap.so.0 => /usr/lib/libnfsidmap.so.0 (0x00002b2e7ca2a000)
        /lib64/ld-linux-x86-64.so.2 (0x00002b2e7c4d7000)
        libldap-2.3.so.0 => /usr/lib/libldap-2.3.so.0 (0x00002b2e7cb34000)
        liblber-2.3.so.0 => /usr/lib/liblber-2.3.so.0 (0x00002b2e7cc69000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00002b2e7cd77000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x00002b2e7ce8a000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x00002b2e7cfc1000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002b2e7d203000)

# ldd /bin/mv
        libacl.so.1 => /lib/libacl.so.1 (0x00002aeb20b3b000)
        libattr.so.1 => /lib/libattr.so.1 (0x00002aeb20c47000)
        libc.so.6 => /lib/libc.so.6 (0x00002aeb20d4b000)
        libnfsidmap.so.0 => /usr/lib/libnfsidmap.so.0 (0x00002aeb20f72000)
        /lib64/ld-linux-x86-64.so.2 (0x00002aeb20a1f000)
        libldap-2.3.so.0 => /usr/lib/libldap-2.3.so.0 (0x00002aeb2107c000)
        liblber-2.3.so.0 => /usr/lib/liblber-2.3.so.0 (0x00002aeb211b1000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00002aeb212bf000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x00002aeb213d2000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x00002aeb21509000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002aeb2174b000)
Comment 1 Dan Callaghan 2007-02-06 01:57:37 UTC
emerge --info:

Portage 2.1.1-r2 (default-linux/amd64/2006.1/server, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r6 x86_64 Intel(R) Xeon(R) CPU            5140  @ 2.33GHz
Gentoo Base System release 1.12.6
Last Sync: Mon, 05 Feb 2007 15:20:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo http://public.planetmirror.com/pub/gentoo http://distfiles.gentoo.org"
LANG="en_AU.utf8"
LC_ALL="en_AU.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="amd64 acl alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 bash-completion bitmap-fonts bzip2 cli cracklib crypt cups dlloader dri elibc_glibc fortran gpm iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kerberos kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text ldap libg++ midi mysql ncurses nfs nls nptl nptlonly pam pcre ppds pppd python readline reflection samba session snmp spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales vhosts video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i810 video_cards_mga video_cards_neomagic video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xml xorg zlib"
Unset:  CTARGET, INSTALL_MASK, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-06 07:32:01 UTC

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