* [gentoo-user] Strange KDE/gcc upgrade
@ 2005-12-06 11:11 Nagatoro
2005-12-06 12:42 ` Jan Callewaert
0 siblings, 1 reply; 15+ messages in thread
From: Nagatoro @ 2005-12-06 11:11 UTC (permalink / raw
To: gentoo-user
Hi,
I've just upgraded my desktop computer to use gcc-3.4 and right after
that I decided to try KDE-3.5. Everything compiled just fine but now i
see that KDE-3.5 is linked against libstdc++.so.5 _and_ libstdc++.so.6.
Does anyone know where I've gone wrong?
--
Naga
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Strange KDE/gcc upgrade
2005-12-06 11:11 [gentoo-user] Strange KDE/gcc upgrade Nagatoro
@ 2005-12-06 12:42 ` Jan Callewaert
2005-12-06 13:27 ` Nagatoro
0 siblings, 1 reply; 15+ messages in thread
From: Jan Callewaert @ 2005-12-06 12:42 UTC (permalink / raw
To: gentoo-user
2005/12/6, Nagatoro <nagatoro@gmail.com>:
> Hi,
>
> I've just upgraded my desktop computer to use gcc-3.4 and right after
> that I decided to try KDE-3.5. Everything compiled just fine but now i
> see that KDE-3.5 is linked against libstdc++.so.5 _and_ libstdc++.so.6.
>
> Does anyone know where I've gone wrong?
>
> --
> Naga
Have you run gcc-config to change the gcc-version? When installing a
new gcc, the default one is not automatically switched.
Jan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Strange KDE/gcc upgrade
2005-12-06 12:42 ` Jan Callewaert
@ 2005-12-06 13:27 ` Nagatoro
2005-12-06 14:16 ` Peter Ruskin
0 siblings, 1 reply; 15+ messages in thread
From: Nagatoro @ 2005-12-06 13:27 UTC (permalink / raw
To: gentoo-user
Jan Callewaert wrote:
> 2005/12/6, Nagatoro <nagatoro@gmail.com>:
>>I've just upgraded my desktop computer to use gcc-3.4 and right after
>>that I decided to try KDE-3.5. Everything compiled just fine but now i
>>see that KDE-3.5 is linked against libstdc++.so.5 _and_ libstdc++.so.6.
>>
>>Does anyone know where I've gone wrong?
>
> Have you run gcc-config to change the gcc-version? When installing a
> new gcc, the default one is not automatically switched.
Yes
Also cleared the ccache cache and stopped distcc and did a emerge -e
system. Didn't do a emerge -e world due to time issues (genlop tells
me it should take 4 days and 12 hours...) but as I understand it every
new emerge after the change of gcc should use the new version of
libstdc++.
--
Naga
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Strange KDE/gcc upgrade
2005-12-06 13:27 ` Nagatoro
@ 2005-12-06 14:16 ` Peter Ruskin
2005-12-06 14:54 ` Nagatoro
0 siblings, 1 reply; 15+ messages in thread
From: Peter Ruskin @ 2005-12-06 14:16 UTC (permalink / raw
To: gentoo-user
On Tuesday 06 December 2005 13:27, Nagatoro wrote:
> Jan Callewaert wrote:
> > 2005/12/6, Nagatoro <nagatoro@gmail.com>:
> >>I've just upgraded my desktop computer to use gcc-3.4 and right
> >> after that I decided to try KDE-3.5. Everything compiled just
> >> fine but now i see that KDE-3.5 is linked against
> >> libstdc++.so.5 _and_ libstdc++.so.6.
> >>
> >>Does anyone know where I've gone wrong?
> >
>From http://www.gentoo.org/proj/en/base/x86/gcc-upgrading-guide.xml:
# revdep-rebuild --library libstdc++.so.5 -- -pv
# revdep-rebuild --library libstdc++.so.5
--
Peter
========================================================================
Gentoo Linux: Portage 2.0.51.22-r3. kernel-2.6.13-gentoo-r5.
i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.4.4.
KDE: 3.5.0. Qt: 3.3.4.
========================================================================
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Strange KDE/gcc upgrade
2005-12-06 14:16 ` Peter Ruskin
@ 2005-12-06 14:54 ` Nagatoro
2005-12-06 15:24 ` Richard Fish
2005-12-06 15:28 ` Graham Murray
0 siblings, 2 replies; 15+ messages in thread
From: Nagatoro @ 2005-12-06 14:54 UTC (permalink / raw
To: gentoo-user
Peter Ruskin wrote:
> From http://www.gentoo.org/proj/en/base/x86/gcc-upgrading-guide.xml:
>
> # revdep-rebuild --library libstdc++.so.5 -- -pv
> # revdep-rebuild --library libstdc++.so.5
Yes I've read that too. But why is the newly compiled KDE linking
against libstdc++.so.5 when it was compiled _after_ the gcc change?
--
Naga
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Strange KDE/gcc upgrade
2005-12-06 14:54 ` Nagatoro
@ 2005-12-06 15:24 ` Richard Fish
2005-12-06 16:53 ` Nagatoro
2005-12-06 15:28 ` Graham Murray
1 sibling, 1 reply; 15+ messages in thread
From: Richard Fish @ 2005-12-06 15:24 UTC (permalink / raw
To: gentoo-user
On 12/6/05, Nagatoro <nagatoro@gmail.com> wrote:
> Peter Ruskin wrote:
> > From http://www.gentoo.org/proj/en/base/x86/gcc-upgrading-guide.xml:
> >
> > # revdep-rebuild --library libstdc++.so.5 -- -pv
> > # revdep-rebuild --library libstdc++.so.5
>
> Yes I've read that too. But why is the newly compiled KDE linking
> against libstdc++.so.5 when it was compiled _after_ the gcc change?
Because it is also linking against some other library that you already
have installed (Qt, maybe?) that is linked against stdc++.so.5.
That's why you need to revdep-rebuild everything linked against the old library.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Strange KDE/gcc upgrade
2005-12-06 14:54 ` Nagatoro
2005-12-06 15:24 ` Richard Fish
@ 2005-12-06 15:28 ` Graham Murray
1 sibling, 0 replies; 15+ messages in thread
From: Graham Murray @ 2005-12-06 15:28 UTC (permalink / raw
To: gentoo-user
Nagatoro <nagatoro@gmail.com> writes:
> Yes I've read that too. But why is the newly compiled KDE linking
> against libstdc++.so.5 when it was compiled _after_ the gcc change?
It is probably linking against something (qt perhaps, as the existing
qt was used when I upgraded to kde 3.5) that is itself linked against
libstdc++.so.5
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Strange KDE/gcc upgrade
2005-12-06 15:24 ` Richard Fish
@ 2005-12-06 16:53 ` Nagatoro
2005-12-06 17:09 ` Richard Fish
0 siblings, 1 reply; 15+ messages in thread
From: Nagatoro @ 2005-12-06 16:53 UTC (permalink / raw
To: gentoo-user
Richard Fish wrote:
> Because it is also linking against some other library that you already
> have installed (Qt, maybe?) that is linked against stdc++.so.5.
Point well taken.
But would I see this "link" on the actual KDE binaries (eg ldd kview) or
would I see this if I checked the QT library that KDE links against?
--
Naga
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Strange KDE/gcc upgrade
2005-12-06 16:53 ` Nagatoro
@ 2005-12-06 17:09 ` Richard Fish
2005-12-06 18:47 ` Nagatoro
2005-12-06 23:00 ` cucu ionut cristian
0 siblings, 2 replies; 15+ messages in thread
From: Richard Fish @ 2005-12-06 17:09 UTC (permalink / raw
To: gentoo-user
On 12/6/05, Nagatoro <nagatoro@gmail.com> wrote:
> Richard Fish wrote:
> > Because it is also linking against some other library that you already
> > have installed (Qt, maybe?) that is linked against stdc++.so.5.
>
> Point well taken.
> But would I see this "link" on the actual KDE binaries (eg ldd kview) or
> would I see this if I checked the QT library that KDE links against?
You can check both. The ldd output of a binary shows the complete
dependancy tree. You can then check individual libraries. The
following script should identify the 'offender':
for x in `ldd /usr/kde/3.5/bin/kview | awk '{ print $3}' | grep lib` ; do
echo $x
ldd $x
read
done
Just press "enter" to move from one library to the next...
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Strange KDE/gcc upgrade
2005-12-06 17:09 ` Richard Fish
@ 2005-12-06 18:47 ` Nagatoro
2005-12-06 20:09 ` Richard Fish
2005-12-06 23:00 ` cucu ionut cristian
1 sibling, 1 reply; 15+ messages in thread
From: Nagatoro @ 2005-12-06 18:47 UTC (permalink / raw
To: gentoo-user
Richard Fish wrote:
> You can check both. The ldd output of a binary shows the complete
> dependancy tree. You can then check individual libraries. The
> following script should identify the 'offender':
>
> for x in `ldd /usr/kde/3.5/bin/kview | awk '{ print $3}' | grep lib` ; do
> echo $x
> ldd $x
changed this to ldd $x | grep libstdc++.so.5
> read
> done
>
> Just press "enter" to move from one library to the next...
Thanks!
This shows me that kview and some of it's libraries link to
libstdc++.so.5. Or am I missreading the display (libstdc++.so.5 shows up
both for kview and some of the libs)?
I not back to the former question should kview link directly to
libstdc++.so.5 at all?
--
Naga
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Strange KDE/gcc upgrade
2005-12-06 18:47 ` Nagatoro
@ 2005-12-06 20:09 ` Richard Fish
2005-12-06 20:31 ` Nagatoro
0 siblings, 1 reply; 15+ messages in thread
From: Richard Fish @ 2005-12-06 20:09 UTC (permalink / raw
To: gentoo-user
On 12/6/05, Nagatoro <nagatoro@gmail.com> wrote:
> Richard Fish wrote:
> > You can check both. The ldd output of a binary shows the complete
> > dependancy tree. You can then check individual libraries. The
> > following script should identify the 'offender':
> >
> > for x in `ldd /usr/kde/3.5/bin/kview | awk '{ print $3}' | grep lib` ; do
> > echo $x
> > ldd $x
> changed this to ldd $x | grep libstdc++.so.5
> > read
> > done
> >
> > Just press "enter" to move from one library to the next...
>
> Thanks!
>
> This shows me that kview and some of it's libraries link to
> libstdc++.so.5. Or am I missreading the display (libstdc++.so.5 shows up
> both for kview and some of the libs)?
>
> I not back to the former question should kview link directly to
> libstdc++.so.5 at all?
It probably doesn't. You can check this with:
strings /usr/kde/3.5/bin/kview | grep stdc++
The ldd output shows dependant libraries, plus dependencies of the
libraries, plus dependencies of the dependencies, and so on.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Strange KDE/gcc upgrade
2005-12-06 20:09 ` Richard Fish
@ 2005-12-06 20:31 ` Nagatoro
0 siblings, 0 replies; 15+ messages in thread
From: Nagatoro @ 2005-12-06 20:31 UTC (permalink / raw
To: gentoo-user
Richard Fish wrote:
> On 12/6/05, Nagatoro <nagatoro@gmail.com> wrote:
>>I not back to the former question should kview link directly to
>>libstdc++.so.5 at all?
>
>
> It probably doesn't. You can check this with:
>
> strings /usr/kde/3.5/bin/kview | grep stdc++
Thanks, it turns out that it does link to both...
An emerge -e is running now ...
Will be back when it's done.
Thanks for you help.
--
Naga
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Strange KDE/gcc upgrade
2005-12-06 17:09 ` Richard Fish
2005-12-06 18:47 ` Nagatoro
@ 2005-12-06 23:00 ` cucu ionut cristian
2005-12-07 3:00 ` Richard Fish
1 sibling, 1 reply; 15+ messages in thread
From: cucu ionut cristian @ 2005-12-06 23:00 UTC (permalink / raw
To: gentoo-user
> The ldd output of a binary shows the complete
> dependancy tree.
I tried the ldd and ldd $x where x is a varios program wich runs fine on
my system and output is ldd: ./x: No such file or directory
I guess I shoud have set something somewhere but... don't know what
where
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Strange KDE/gcc upgrade
2005-12-06 23:00 ` cucu ionut cristian
@ 2005-12-07 3:00 ` Richard Fish
2005-12-07 20:06 ` cucu ionut cristian
0 siblings, 1 reply; 15+ messages in thread
From: Richard Fish @ 2005-12-07 3:00 UTC (permalink / raw
To: gentoo-user
On 12/6/05, cucu ionut cristian <cuciferus@gmail.com> wrote:
> I tried the ldd and ldd $x where x is a varios program wich runs fine on
> my system and output is ldd: ./x: No such file or directory
> I guess I shoud have set something somewhere but... don't know what
> where
I'm not sure I understand. What do you get if you do:
ldd /bin/bash
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] Strange KDE/gcc upgrade
2005-12-07 3:00 ` Richard Fish
@ 2005-12-07 20:06 ` cucu ionut cristian
0 siblings, 0 replies; 15+ messages in thread
From: cucu ionut cristian @ 2005-12-07 20:06 UTC (permalink / raw
To: gentoo-user
On Tue, 2005-12-06 at 20:00 -0700, Richard Fish wrote:
>
> ldd /bin/bash
found problem: I must use ldd /parth/to/program/program to get the
right result thanks for tip
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2005-12-07 19:17 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-06 11:11 [gentoo-user] Strange KDE/gcc upgrade Nagatoro
2005-12-06 12:42 ` Jan Callewaert
2005-12-06 13:27 ` Nagatoro
2005-12-06 14:16 ` Peter Ruskin
2005-12-06 14:54 ` Nagatoro
2005-12-06 15:24 ` Richard Fish
2005-12-06 16:53 ` Nagatoro
2005-12-06 17:09 ` Richard Fish
2005-12-06 18:47 ` Nagatoro
2005-12-06 20:09 ` Richard Fish
2005-12-06 20:31 ` Nagatoro
2005-12-06 23:00 ` cucu ionut cristian
2005-12-07 3:00 ` Richard Fish
2005-12-07 20:06 ` cucu ionut cristian
2005-12-06 15:28 ` Graham Murray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox