View previous topic :: View next topic |
Author |
Message |
fvant Guru
Joined: 08 Jun 2003 Posts: 328 Location: Leiden, The Netherlands
|
Posted: Wed Aug 20, 2003 8:45 am Post subject: Several emerges fail on finding libstdc++ |
|
|
I have gcc 3.2.3 installed (by gcc -v) but several emerges keep insisting on linking with libstdc++ 3.2.2 , which is not there ofcourse.
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include/arts -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -g -O2 -mcpu=i686 -pipe -c gst_artsio.cc -MT libgstarts_la-gst_artsio.lo -MD -MP -MF .deps/libgstarts_la-gst_artsio.TPlo -fPIC -DPIC -o libgstarts_la-gst_artsio.lo
/bin/sh ../../libtool --mode=link g++ -O2 -mcpu=i686 -pipe -o libgstarts.la -rpath /usr/lib/gstreamer-0.6 -module -avoid-version libgstarts_la-gst_arts.lo libgstarts_la-gst_artsio_impl.lo libgstarts_la-gst_artsio.lo -L/usr/kde/3.1/lib -ldl -lartsc -lpthread -lartsflow -lartsflow_idl
mkdir .libs
grep: /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la' is not a valid libtool archive
make[4]: *** [libgstarts.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.1/work/gst-plugins-0.6.1/ext/arts'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.1/work/gst-plugins-0.6.1/ext/arts'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.1/work/gst-plugins-0.6.1/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.1/work/gst-plugins-0.6.1'
make: *** [all] Error 2
!!! ERROR: media-libs/gst-plugins-0.6.1 failed.
!!! Function src_compile, Line 149, Exitcode 2
!!! (no error message)
Culprits so far are gst-plugins.0.6.1 and gedit.2.2.1 all other emerges except these 2 worked.
Any ideas ? |
|
Back to top |
|
|
fvant Guru
Joined: 08 Jun 2003 Posts: 328 Location: Leiden, The Netherlands
|
Posted: Wed Aug 20, 2003 9:06 pm Post subject: |
|
|
Found the reason...gst-plugins failed because kde-base/arts was compiled with previous gcc version.
An unmerge and merge of arts fixed it. |
|
Back to top |
|
|
bcavalieri n00b
Joined: 27 Sep 2002 Posts: 72 Location: Kansas City
|
Posted: Mon Aug 25, 2003 11:00 am Post subject: |
|
|
thanks worked for me as well, was just getting to post with same problem.
-Bill |
|
Back to top |
|
|
bcavalieri n00b
Joined: 27 Sep 2002 Posts: 72 Location: Kansas City
|
Posted: Mon Aug 25, 2003 9:04 pm Post subject: |
|
|
just had the same problem in with some other ebuilds, this seemed to fix all of them
Code: | fix_libtool_files.sh 3.2.2 |
(3.2.2 = my old gcc version) |
|
Back to top |
|
|
marshall_j Tux's lil' helper
Joined: 22 Jan 2003 Posts: 98 Location: NZ
|
Posted: Mon Sep 22, 2003 8:13 pm Post subject: |
|
|
bcavalieri - that last fix worked for me. where did you find how to do that (self suficicency in progress)? |
|
Back to top |
|
|
vadimk Retired Dev
Joined: 24 Jun 2003 Posts: 11
|
Posted: Sun Sep 28, 2003 7:03 pm Post subject: |
|
|
I have the same problem. But fix_libtool_files.sh and reemerge kde arts does not work for me.
grep: /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la' is not a valid libtool archive
make[3]: *** [libspell.la] Error 1
gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
I do have /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.la |
|
Back to top |
|
|
tawtao Tux's lil' helper
Joined: 29 Sep 2003 Posts: 116 Location: Baltimore
|
Posted: Thu Oct 09, 2003 1:20 am Post subject: |
|
|
I don't claim this is a fix, but word around. Try this, create a link in
/usr/lib/gcc-lib/i586-pc-linux-gnu/
from new version to old version. I my case 3.3.1 to 3.2.3
Well .. I just give the libtool what it wants ... It works for me.
But I go with fix_labtool_files.sh, it works for me too. |
|
Back to top |
|
|
|