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

Bug 103147

Summary: libdv e-build doesn't find libstdc++.la
Product: Gentoo Linux Reporter: Michael Elbaum <michael.elbaum>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Elbaum 2005-08-20 08:15:15 UTC
emerge libdv (-0.102) crashes:

/bin/sh ../libtool --silent --mode=link i686-pc-linux-gnu-gcc -I/usr/include/SDL
 -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/inc
lude -I/usr/X11R6/include -g -O2 -Wall   -o playdv  playdv.o display.o oss.o -L/
usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -L/usr/lib -L/usr/X11R6/lib -lgtk -l
gdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lXv ../libdv/libdv.la
 -lpopt -lm
libtool: link: cannot find the library
`/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la'
make[2]: *** [playdv] Error 1
make[2]: Leaving directory `/var/tmp/portage/libdv-0.102/work/libdv-0.102/playdv '
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libdv-0.102/work/libdv-0.102'
make: *** [all] Error 2

I just symlinked ../3.3.4 to  
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130 
and it compiled successfully. It's probably not a recommended solution though.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
all's well, it seems.


Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2
-mfpmath=sse"
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/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/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo
http://gentoo.oregonstate.edu http://www.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="x86 X Xaw3d acpi alsa arts avi berkdb bidi bindist bitmap-fonts bonobo
bzlib cdr crypt cscope cups dga div4linux dvd eds emboss encode esd exif f77 fam
fftw flac flash foomaticdb fortran ftp gdbm gif ginac gnome gphoto2 gpm
gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg junit ldap libg++ libwww
mad mikmod ming mmx motif mozilla mp3 mpeg mplayer ncurses nls nptl ogg
oggvorbis opengl oss pam pcmcia pdflib perl png pnp python quicktime radeon
readline samba sdl slang spell sse sse2 ssl svga tcltk tcpd tetex theora tiff
truetype truetype-fonts trusted type1-fonts unicode usb vorbis wmf xine xinerama
xml xml2 xmms xv xvid zeo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-20 08:18:54 UTC
Please search... 

fix_libtool_files.sh 3.3.4

*** This bug has been marked as a duplicate of 73435 ***
Comment 2 Michael Elbaum 2005-08-20 13:48:59 UTC
mea culpa!    I looked at the other bug and saw that I myself was on the dup
list, in another context in January. It's strange that a search on libdv didn't
pick it up, since the word does appear.