Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88540 - libtool looks in the wrong place for libstdc++
Summary: libtool looks in the wrong place for libstdc++
Status: RESOLVED INVALID
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: 2005-04-09 21:28 UTC by Shyam Mani (RETIRED)
Modified: 2005-04-09 22:54 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 Shyam Mani (RETIRED) gentoo-dev 2005-04-09 21:28:25 UTC
This was one of the many ebuilds that complained :

grep: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la' is not a valid libtool archive
make[2]: *** [libenchant_aspell.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/enchant-1.1.6/work/enchant-1.1.6/src/aspell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/enchant-1.1.6/work/enchant-1.1.6/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-text/enchant-1.1.6 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.

Contents of /usr/lib/gcc/i686-pc-linux-gnu/

total 2
drwxr-xr-x  4 root root  768 Jul 20  2004 3.3.4
drwxr-xr-x  4 root root 1024 Apr 10 02:45 3.4.3-20050110

gcc-config -c
i686-pc-linux-gnu-3.4.3-20050110

I might have missed something...why is libtool looking for 3.4.3? I just added a symlink in /usr/lib/gcc/i686-pc-linux-gnu/ that 3.4.3 was 3.4.3-20050110 and everything works fine.

emerge info 
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11ac1 i686)
=================================================================
System uname: 2.6.11ac1 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1, Feb 20 2005, 07:31:41)]
ccache version 2.4 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5
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.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.4.22, 2.6.8.1-r4, 2.4.19-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -mmmx -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -mmmx -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 apm avi berkdb bitmap-fonts bluetooth bonobo cdr crypt cscope cups curl emboss encode esd ethereal fam fbcon foomaticdb fortran gd gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib imlib2 innodb ipv6 javascript jpeg kde ldap libg++ libwww mad mbox md5sum mikmod mmx motif mozilla mp3 mpeg mpeg4 mysql ncurses nls nvidia odbc offensive oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb vanilla x86 xml xml2 xmms xosd xv xvid zlib linguas_en"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-04-09 22:54:14 UTC
You didn't run fix_libtool_files.sh like the gcc ebuild told you to. ;-)