pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pan-users] Re: libstc++.so.6 missing


From: walt
Subject: [Pan-users] Re: libstc++.so.6 missing
Date: Mon, 25 Aug 2008 22:44:48 +0000 (UTC)

On Mon, 25 Aug 2008 21:30:12 +0000, Beso wrote:

> hi, i've just updated to pan 0.133 and now i get the error of missing
> /usr/lib/libstdc++.so.6. the problem is that this file seems to be
> libstdc++ 3.4. i'm on gentoo unstable. is there anyone who can help
> out?! maybe duncan...
> 
> thanks

Duncan is going to yell at you for sending html to the list ;o) so
I'll try to answer for him.

Do you have more than one version of gcc?  If you switch back and
forth between different gcc's using gcc-config you can wind up
with a different version of libstdc++ than the one pan is linked
against.

Having said that, I have *no* idea where libstdc++-3.4 got in the
mix -- unless you installed a compatibility libstdc++ package for
apps compiled with gcc3, maybe?

In any case, the library pan wants should be here:
/usr/lib/gcc/i686-pc-linux-gnu/4.x.x/ (depending on which version
of gcc you are using at the moment.)

When you use gcc-config to change versions of gcc, the script should
do a ldconfig to bring the appropriate version of libstdc++ into the
library path (watch out for linewrap):

#/sbin/ldconfig -p |grep libstdc

libstdc++.so.6 (libc6) => /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6
libstdc++.so.6 (libc6) => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6
libstdc++.so.5 (libc6) => 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5
libstdc++.so.5 (libc6) => /usr/lib/libstdc++-v3/libstdc++.so.5
libstdc++.so.5 (libc6) => /usr/lib/libstdc++.so.5
libstdc++.so.2.9 (libc6) => /usr/lib/libstdc++.so.2.9
libstdc++.so.2.8 (libc6) => /usr/lib/libstdc++.so.2.8
libstdc++.so.2.7.2 (libc6) => /usr/lib/libstdc++.so.2.7.2
libstdc++.so (libc6) => /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so
libstdc++.so (libc6) => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so
libstdc++.so (libc6) => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so
libstdc++-libc6.2-2.so.3 (libc6) => /usr/lib/libstdc++-libc6.2-2.so.3
libstdc++-libc6.1-1.so.2 (libc6) => /usr/lib/libstdc++-libc6.1-1.so.2

If your "ldconfig -p" doesn't show the right version of libstdc++ then you
do have some kind of a problem on your machine.

BTW, did you compile pan yourself on this same machine?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]