Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27217 - libtool can't find the right libaries while compiling KDE-related stuff
Summary: libtool can't find the right libaries while compiling KDE-related stuff
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-24 06:36 UTC by Thomas Schlesinger (RETIRED)
Modified: 2003-09-29 10:00 UTC (History)
1 user (show)

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 Thomas Schlesinger (RETIRED) gentoo-dev 2003-08-24 06:36:32 UTC
I've downloaded the thin-keramik-the from www.kde-look.org and tried to compile.
While making, I get the following error message:

libtool: link: cannot find the library
`/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la'

I've tried to fix it with the a "fix_libtool_files.sh 3.2.2 --oldarch
i586-pc-linux-gnu", but this script didn't replace the library-paths. An "emerge
kdebase" runs into the same error message. I suppose, at least all KDE-related
stuff is concerned.

After installing kde, I've changed the CHOST to "i686" and updated the gcc to 3.3.1.

Reproducible: Always
Steps to Reproduce:
See "Details"
Actual Results:  
See "Details"

Expected Results:  
libtool should find and link the correct libraries

root@SchlesisPC lib # emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://linux.rz-ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.fhh.opensource-mirror.de/pub/gentoo.org/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt encode foomaticdb gif jpeg libg++ libwww mad
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
zlib gtkhtml gdbm berkdb slang readline arts bonobo svga java guile X sdl gpm
tcpd pam ssl perl python esd imlib oggvorbis motif opengl mozilla ldap qt kde
cups -gnome -gtk"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -funroll-loops -fomit-frame-pointer"
CXXFLAGS="-march=athlon -O3 -funroll-loops -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2003-08-26 00:55:37 UTC
Just a guess - please try re-emerging libtool.
Comment 2 Judd Rogers 2003-09-13 07:46:19 UTC
Forum topic http://forums.gentoo.org/viewtopic.php?p=519977#519977 
 
building kde-base/kdeaddons fails for this same reason. 
 
Comment 3 Judd Rogers 2003-09-13 07:48:34 UTC
A Request: 
Can we improve libtool's error in the case to include the path to the .la 
file or whatever told it to check the bogus path for libstdc++.so? 
Something like what gcc tells you when it can't find or has problems with and 
include file. 
Comment 4 Thomas Schlesinger (RETIRED) gentoo-dev 2003-09-13 08:33:35 UTC
Meanwhile I've reinstalled my Gentoo-System because of a heavy damaged file system with the two 
1.4-CDs. So it's not longer a problem for me, but may be for other Gentoo-users.

Thomas 
Comment 5 Judd Rogers 2003-09-14 06:35:16 UTC
With KDE 3.1.3, all parts seem to build other than kdeaddons so there may be a 
problem with some use of libtools there. 
 
I built my system off the 1.4rc2 cd images. I suspect any released image which 
optimizes for i686 will avoid my particular version of the problem. 
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-14 11:43:17 UTC
Could you do the following for me:

1) find /usr -type f -name '*.la' -exec grep -l 'i586-pc-linux-gnu\/3\.2\.2' {} \;

2) fix_libtool_files.sh 3.2.2 --oldarch i586-pc-linux-gnu

and attach both output here if possible.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-29 10:00:45 UTC
.