Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Several emerges fail on finding libstdc++
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
fvant
Guru
Guru


Joined: 08 Jun 2003
Posts: 328
Location: Leiden, The Netherlands

PostPosted: Wed Aug 20, 2003 8:45 am    Post subject: Several emerges fail on finding libstdc++ Reply with quote

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
View user's profile Send private message
fvant
Guru
Guru


Joined: 08 Jun 2003
Posts: 328
Location: Leiden, The Netherlands

PostPosted: Wed Aug 20, 2003 9:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
bcavalieri
n00b
n00b


Joined: 27 Sep 2002
Posts: 72
Location: Kansas City

PostPosted: Mon Aug 25, 2003 11:00 am    Post subject: Reply with quote

thanks worked for me as well, was just getting to post with same problem.

-Bill
Back to top
View user's profile Send private message
bcavalieri
n00b
n00b


Joined: 27 Sep 2002
Posts: 72
Location: Kansas City

PostPosted: Mon Aug 25, 2003 9:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
marshall_j
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2003
Posts: 98
Location: NZ

PostPosted: Mon Sep 22, 2003 8:13 pm    Post subject: Reply with quote

bcavalieri - that last fix worked for me. where did you find how to do that (self suficicency in progress)?
Back to top
View user's profile Send private message
vadimk
Retired Dev
Retired Dev


Joined: 24 Jun 2003
Posts: 11

PostPosted: Sun Sep 28, 2003 7:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
tawtao
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2003
Posts: 116
Location: Baltimore

PostPosted: Thu Oct 09, 2003 1:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum