| Summary: | avifile-0.7.41, libstdc++.la exists but not found + version mixup (3.3.4/3.3.5) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | rzymek <junk6> |
| Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
rzymek
2005-04-10 05:45:23 UTC
what does `ls -d -l /usr/lib/gcc-lib /usr/lib/gcc` show For awhile now I have been unable to emerge anything. I get the following error on emerge of lcms and other ebuilds. libtool: link: cannot find the library `/usr/libgcc/i686-pc-linux-gnu/3.3.4/libstdc++.la' make[1]: *** [tifficc] Error 1 make[1]: Leaving directory `/var/tmp/portage/lcms-1.13/work/lcms-1.13/tifficc' make: *** [all-recursive] Error 1 libtool is looking for libstdc++.la in a /usr/libgcc/i686-pc-linux-gnu/3.3.4/, the directory /usr/libgcc does not exist! I do not have 3.3.4 installed anylonger. I ran a fix_libtool_files.sh 3.3.4 and env_update and source /etc/profile, which did not correct this. I have reinstalled gcc-3.3.5 which does not have a problem. Does gcc own libstdc++.la? I just ran qpkg -f /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/libstdc++.la and it returned sys-devel/gcc * which does not tell me much. I am really very concerned as to why libtool is looking for a libgcc directory. I have not seen this exact error anywhere else during my research and rtwf. So how can this be corrected? Thanks in advance. gcc-config -l gives [1] i686-pc-linux-gnu-3.3.5 * [2] i686-pc-linux-gnu-3.3.5-hardened [3] i686-pc-linux-gnu-3.3.5-hardenednopie [4] i686-pc-linux-gnu-3.3.5-hardenednossp s -al /usr/lib/gcc-lib/i686-pc-linux-gnu total 2 drwxr-xr-x 3 root root 72 Mar 27 17:15 . drwxr-xr-x 3 root root 88 Apr 13 2004 .. drwxr-xr-x 5 root root 2064 Apr 6 21:02 3.3.5 ls -al /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/libstdc++.la -rwxr-xr-x 1 root root 970 Apr 6 21:02 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/libstdc++.la And for Spanky ls -d -l /usr/lib/gcc-lib /usr/lib/gcc ls: /usr/lib/gcc: No such file or directory drwxr-xr-x 3 root root 88 Apr 13 2004 /usr/lib/gcc-lib and finally here is emerge --info Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r13 i686) ================================================================= System uname: 2.6.9-gentoo-r13 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 27 2005, 15:50:35)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dga distcache distribution divx4linux doc dvd emboss encode esd fam fftw flac font-server foomaticdb fortran gcj gd gdbm gif glgd gmtfull gmthigh gmtsuppl gmttria gnome gnuplot gphoto2 gpm gs gsl gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 jack java joystick jpeg kde lcms libcaca libg++ libsamplerate libwww mad matrox mbox mikmod mmx motif mozilla moznoxft mp3 mpeg msn mysql ncurses nls nptl objc offensive oggvorbis opengl oss pam pdflib perl plotutils png ppds python qt quicktime readline samba sdk sdl slang slp snmp spell sse ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb videos xml xml2 xmms xprint xv xvid zeo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY I think it may be time to do a fresh install. I would like to stay away from that if possible. # ls -d -l /usr/lib/gcc-lib /usr/lib/gcc ls: /usr/lib/gcc: No such file or directory drwxr-xr-x 3 root root 88 2003-11-21 19:40 /usr/lib/gcc-lib After logging libtools output to a file: /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libk3bdevice.la -rpath /usr/kde/3.3/lib -L/usr/kde/3.3/lib -L/usr/qt/3/lib -L/usr/X11R6/lib -version-info 2:0:0 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined k3bdevice.lo k3bscsicommand.lo k3btrack.lo k3btoc.lo k3bdevicemanager.lo k3bmsf.lo k3bdiskinfo.lo k3bdeviceglobals.lo k3bcrc.lo k3bcdtext.lo -lkio 2> log I found that libtool is looking for an actually non-existent file: grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/^[[0m3.3.4/libstdc++.la: No such file or directory Probably this path was missed by fix_libtool_files.sh I'm still looking for where from libtool takes this path. Now all I need is a way to call fix_libtool_files.sh ^[[0m3.3.4 where ^[ is the escape character (1B hex or \e). GOT IT. fix_libtool_files.sh "^[\[0m3.3.4" solved my problem. NOTE: The ^[ character was obtained by pressing [Ctrl-V],[Esc] |