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

Bug 6224

Summary: emerge openoffice fails with "libstdc++.so.4.0.1 not found"
Product: Gentoo Linux Reporter: Klaus Kusche <Klaus.Kusche>
Component: Current packagesAssignee: Seth Chandler <sbc28>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Klaus Kusche 2002-08-08 15:50:41 UTC
I'm trying to emerge openoffice on a freshly installed, completely up-to-date,
gcc3.1-only Gentoo system.

Compilation fails with
dmake:  Error --
`/var/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/solver/641/unxlngi4.pro/lib/libstdc++.so.4.0.1'
not found, and can't be made
---* RULES.MK *---

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/product/util
dmake: Error code 1, while making 'build_all'
---* TG_SLO.MK *---

The last (working?) line before that was
ln -s libgcc_s.so.1 ../unxlngi4.pro/bin/udk3.0.1/linux/lib/libgcc_s.so
Comment 1 Klaus Kusche 2002-08-15 05:06:06 UTC
I believe I've found the problem (not sure yet - the emerge is still running):
My system had both gcc 3.1 and gcc 3.1.1 installed.

Hence, your src_compile found a /usr/lib/libstdc++.so.4 (from gcc 3.1) and
copied the libs from /usr/lib/, not from /usr/lib/gcc-lib/.../3.1.1/.

However, libstdc++.so..4.0.1 (from gcc 3.1.1) is in .../3.1.1 and hence did not
get copied.

I did an "emerge clean world", this should solve the problem - still running...
Comment 2 Klaus Kusche 2002-08-15 14:09:40 UTC
Solved - unmerging the old gcc 3.1 did the trick!
OO compiles and runs fine.