| Summary: | sys-devel/binutils-2.20 gnustep-base/gnustep-base-1.18.0-r4: after binutils update to version 2.20, gnustep-base fails at configure time because libbfd-2.20.so is not in LD_LIBRARY_PATH(?) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Mariusz Ceier <mceier> |
| Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | pva |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
gnustep-base configure log
bfd_test source code my ld.so.conf my /etc/env.d/05binutils updated packages |
||
Created attachment 218100 [details]
gnustep-base configure log
Created attachment 218101 [details]
bfd_test source code
post your /etc/ld.so.conf Created attachment 218275 [details]
my ld.so.conf
your ld.so.conf is broken for some reason. there should be an /usr/i686-pc-linux-gnu/lib entry in there. that comes from /etc/env.d/05binutils. that comes from binutils-config when you select the native compiler. dare i ask if you've been mucking with these things ? Created attachment 218277 [details]
my /etc/env.d/05binutils
No I haven't changing it. But I have /etc/ld.so.conf.d/05binutils.conf which contains /usr/i686-pc-linux-gnu/lib
/etc/ld.so.conf.d/05binutils.conf only gets created if /etc/ld.so.conf.d/ exists, and that should only exist if glibc created it, and glibc only creates it when it also adds an "include ld.so.conf.d/*.conf" entry to /etc/env.d/00glibc. your ld.so.conf lacks such an include line which means none of these other pieces should have fallen into place. hmm, it seems that glibc didn't create /etc/env.d/00glibc - and didn't put there include ld.so.conf.d/*.conf I will try to rebuild glibc, maybe this will help. if glibc didnt install that file, then it didnt make that dir. that means someone else did. blame that person for breaking your system. Created attachment 218281 [details]
updated packages
Rebuilding glibc fixed this bug. Thanks.
This dir showed up after updating packages listed in attached update.txt - binutils where rebuilt because of "gold" use flag change.
|
After binutils update to version 2.20, gnustep-base fails at configure time, because libbfd-2.20.so is not in LD_LIBRARY_PATH (?) Programs that link with libbfd-2.20.so does not run. Reproducible: Always Steps to Reproduce: 1.emerge gnustep-base -v 2.or compile attached program with gcc bfd_test.c -o bfd_test -lbfd, and run it. 3. Actual Results: emerge fails at configure time because of: ./conftest: error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory as can be read from attached config.log similarly bfd_test.c program: ./bfd_test: error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory Expected Results: gnustep-base should configure and install ./bfd_test should run and print "all ok" I tried running binutils-config ( with env-update && source /etc/profile ) to select between 4 installed versions of binutils ( cross-avr/binutils, cross-mingw32/binutils, cross-x86_64-pc-linux-gnu/binutils, sys-devel/binutils ) but it didn't solve problem. bfd_test runs when I set the LD_LIBRARY_PATH to /usr/i686-pc-linux-gnu/lib/ e.g.: LD_LIBRARY_PATH=/usr/i686-pc-linux-gnu/lib/ ./bfd_test emerge --info sys-devel/binutils: Portage 2.1.7.17 (default/linux/x86/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo-r1-gitkernel i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-gentoo-r1-gitkernel-i686-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 31 Jan 2010 20:00:17 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.4.6, 2.5.4-r4, 2.6.4-r1, 3.1.1-r1 dev-python/pycrypto: 2.1.0 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.0-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-m32 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -mtune=native -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb /var/spool/torque" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-m32 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -mtune=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="pl_PL.UTF-8" LC_ALL="pl_PL.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="pl en" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/x11 /var/lib/layman/sunrise /var/lib/layman/haskell /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac aalib acl acpi aio alsa apache2 avahi bash-completion berkdb bzip2 cairo ccache cdr cli cracklib crypt cscope cups custom-cflags cxx dbus dri dvd dvdr encode escreen esd extraicons extramodules faad fftw firefox foomaticdb fortran fuse gadu gdbm gif git glibc-omitfp gnome gnutls gpm gtk hal iconv icu imlib java java6 javascript jpeg kde kdehiddenvisibility mad mailwrapper mdnsresponder-compat mmap mmx mmxext modules mono motif mp3 mpeg mpi mudflap multitarget musepack ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pch pcre pdf perl png ppds pppd python qt4 quicktime readline reflection rtc sdl semantic-desktop session speex spell spl sse sse2 sse3 ssl subversion svg sysfs tcpd teamarena tga theora threads threadsonly tiff tlen truetype ucs2 ucs4 unicode usb v4l v4l2 vhosts vim-pager vim-with-x vorbis win32codecs x264 x86 xcb xml xorg xosd xrandr xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev nouveau" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= sys-devel/binutils-2.20 was built with the following: USE="multitarget nls -multislot -test -vanilla" CFLAGS="-m32 -mtune=native -O2 -pipe" CXXFLAGS="-m32 -mtune=native -O2 -pipe"