Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 140420

Summary: amule fails to launch
Product: Gentoo Linux Reporter: Neil Stone <neil>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED TEST-REQUEST    
Severity: normal CC: gentoo
Priority: High    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Neil Stone 2006-07-14 16:01:43 UTC
user@host > amule
amule: error while loading shared libraries: libbfd-2.16.1.so: cannot open shared object file: No such file or directory

so i figured...

user@host > locate libbfd-2.16.1.so
/emul/linux/x86/usr/lib/libbfd-2.16.1.so

/usr/x86_64-pc-linux-gnu/lib/libbfd-2.16.1.so/usr/x86_64-pc-linux-gnu/lib/libbfd-2.16.1.so: symbolic link to `/emul/linux/x86/usr/lib/libbfd-2.16.1.so'

/emul/linux/x86/usr/lib/libbfd-2.16.1.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped

user@host > ldconfig -p | grep libbfd-2.16.1.so
    libbfd-2.16.1.so (libc6) => /usr/x86_64-pc-linux-gnu/lib/libbfd-2.16.1.so
    libbfd-2.16.1.so (libc6) => /emul/linux/x86/usr/lib/libbfd-2.16.1.so

by this point i figured "WTF" so here i am..

emerge --info follows..

+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Portage 2.1.1_pre2-r7 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r2 x86_64)
=================================================================
                       System Settings
=================================================================
System uname: 2.6.17-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk          ftp://mirrors.blueyonder.co.uk/mirrors/gentoo           http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/          ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LINGUAS="uk"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/voip"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="amd64 7zip X Xaw3d a52 aac aalib acpi aim alsa apm ares arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 bzlib calendar cdparanoia cdr cli cpudetection crypt css cups curl dbus dga divx4linux dlloader dri dv dvb dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam fbcon ffmpeg flac flash font-server foomaticdb fortran ftp gif gimpprint gnome gpm gps gstreamer gtk gtk2 hal icq iee1394 ieee1394 imlib ipv6 isdnlog jabber java javascript joystick jpeg kde kdeenablefinal kdehiddenvisibility lm_sensors logitech-mouse lzw lzw-tiff mcve mgetty mikmod mime mng mozilla mozsvg mp3 mpeg mplayer msn musepack musicbrainz mysql nas ncurses network nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl osc oscar oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime rar rdesktop readline recode reflection sasl scanner sdl sensord session sndfile sox spell spl ssl subtitles svg symlink tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usb utf8 v4l v4l2 vcd videos vorbis wmf wxwindows xcomposite xine xinerama xmms xorg xosd xpm xprint xscreensaver xv xvid yahoo yv12 zeroconf zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_joystick kernel_linux linguas_uk userland_GNU video_cards_nvidia video_cards_v4l video_cards_nv"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Weyershäuser 2006-07-14 16:07:43 UTC
revdep-rebuild should fix this... Or just remerge amule.
Comment 2 Neil Stone 2006-07-14 16:13:49 UTC
I have done both, TNA
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-14 16:15:02 UTC
You need to run binutils-config and set your binutils to a version that's actually installed on your system. 2.16.1 is not, apparently.

> sys-devel/binutils:  2.17
Comment 4 Neil Stone 2006-07-14 16:22:45 UTC
user@host > binutils-config -c
x86_64-pc-linux-gnu-2.17


i'm guessing thats right, do i need to remerge anything or run a revdep-rebuild on this after setting / checking this ??
Comment 5 Neil Stone 2006-07-15 16:15:31 UTC
Odly enough i ran revdep-rebuild to try to fix a problem with somthing else.. it picked up the need for amule to be remerged.. and it now works..

I guess the binutils-config followed by revdep-rebuild did the job..

Oh, the other proble was fixed too :-) Gotta love Gentoo sometimes
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-06-26 10:10:40 UTC
*** Bug 183223 has been marked as a duplicate of this bug. ***