Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 2826

Summary: libstdc++-libc6.2-2.so.3 missing?
Product: Gentoo Linux Reporter: walt <wsheets>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description walt 2002-05-18 10:43:23 UTC
Previously compiles apps like groff and xosview are suddenly giving
me missing-library errors for the libstdc++-libc6.2-2.so.3.

Did this get taken out of libcompat recently?

I re-compiled groff which works again, but app-misc/xosview won't
recompile now:
In file included from
/var/tmp/portage/xosview-1.7.3-r1/work/xosview-1.7.3/xosview.h:14,
                 from
/var/tmp/portage/xosview-1.7.3-r1/work/xosview-1.7.3/meter.h:15,
                 from
/var/tmp/portage/xosview-1.7.3-r1/work/xosview-1.7.3/fieldmetergraph.h:17,
                 from cpumeter.h:12,
                 from cpumeter.cc:9:
/var/tmp/portage/xosview-1.7.3-r1/work/xosview-1.7.3/xwin.h:110: friend 
   declaration requires class-key, i.e. `friend class XWin'
make[1]: *** [cpumeter.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xosview-1.7.3-r1/work/xosview-1.7.3/linux'

BTW, I just switched to gentoo-1.0-gcc3 which I imagine may have some
side-effects I can't forsee.  Would this have anything to do with my
missing library problem?
Comment 1 Spider (RETIRED) gentoo-dev 2002-05-18 14:17:17 UTC
yep, 
the gcc 3.0 and 2.95.x have different c++ libraries that are binary incompatible.
solution: rebuild all c++ code by hand

how? recompile them.
check something like this
for i in /usr/lib/*.so ; do ldd $i |grep -i "not found" - && echo $i;done 

or simply do emerge -e world