Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6224 - emerge openoffice fails with "libstdc++.so.4.0.1 not found"
Summary: emerge openoffice fails with "libstdc++.so.4.0.1 not found"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Seth Chandler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-08 15:50 UTC by Klaus Kusche
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.