Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12269 - openoffice 1.0.1 fails cause of libstdc++.so.5
Summary: openoffice 1.0.1 fails cause of libstdc++.so.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Seth Chandler
URL:
Whiteboard:
Keywords:
: 13011 13428 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-12-16 17:10 UTC by Adam Renner
Modified: 2003-03-15 10:39 UTC (History)
1 user (show)

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 Adam Renner 2002-12-16 17:10:43 UTC
The following error has occured to myself and several others:

-----------------------------------------------------------------------

ln -s libgcc_s.so.1 ../unxlngi4.pro/bin/udk3.0.1/linux/lib/libgcc_s.so 
dmake:  Error -- `/var/tmp/portage/openoffice-1.0.1-
r1/work/oo_1.0.1_src/solver/641/unxlngi4.pro/lib/libstdc++.so.5.0.0' not 
found, and can't be made 
---* RULES.MK *--- 

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.0.1-
r1/work/oo_1.0.1_src/product/util 

!!! ERROR: app-office/openoffice-1.0.1-r1 failed. 
!!! Function src_compile, Line 358, Exitcode 1 
!!! Build failed! 

--------------------------------------------------------------------------

A gentoo discussion has started in the forums:
http://forums.gentoo.org/viewtopic.php?t=26390

Prior to experiencing the problem I did the following:
1. Started a fresh gentoo install
2. Updated the portage tree
3. updated the system (ie. emerge -u system)
4. emerged xfree 4.2.0
5. emerged kdelibs
6. emerged kde

(prior to each step I updated the portage tree and folling each step I made 
sure to do an etc-update)
Other than the above, It is a completely fresh installed system.
Comment 1 Seth Chandler 2002-12-17 00:30:35 UTC
alright are you using gcc 3.2.1?  and if so what version of the openoffice 
ebuild are you using?  I'm assuming its 1.0.1-r1...if you emerge 1.0.1-r3 it 
should work fine, as there has been some recent changes in gcc stuffs

let me know please, and thanks ;-)
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-01-01 04:57:55 UTC
*** Bug 13011 has been marked as a duplicate of this bug. ***
Comment 3 dhek bhun kho 2003-01-03 19:08:55 UTC
You can fix this quite easily by:

1. Throwing the emerge to sleep after it has unpacked the sources using CTRL+Z
(first wait for signals that the unpacking of the source has indeed finished)
2. Copying the libstdc++.so.5.0.0 to <portage
tmpdir>/work/solver/641/unixlngi4.pro/lib directory
3. Resume compilation by throwing the process back to foreground using 
$ fg

This works for my i686-based 1.4 rc1 layout, the libstdc++.so.5.0.0 is part of
the gcc3.2 installation which is included in the 1.4rc1 release.

If you can't find the library try find / -name "libstdc++.so.5.0.0" and wait a
long time.

I haven't dug into the python scripts yet (i dislike snakes), but adding a
simple copy should work.
Comment 4 Seth Chandler 2003-01-03 22:36:24 UTC
will you try installing openoffice 1.0.1-r3?  i believe this problem is fixed in
there
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-01-07 11:38:05 UTC
*** Bug 13428 has been marked as a duplicate of this bug. ***
Comment 6 Frank Leong 2003-01-15 07:56:22 UTC
Instead of using the real libstdc++.so.5.0.0, I emerged OpenOffice, let it unpack stuff, and browsed round until
the directory <portage tmpdir>/work/solver/641/unixlngi4.pro/lib was created. With gcc 3.2.1, the newer
libstdc++.so.5.0.1 is put into the dir. If you -during the emerge process- go into the dir and do a
"cp libstdc++.so.5.0.1 libstdc++.so.5.0.0", it should work (did for me). But I think you can also edit the
ebuild slightly, replacing 5.0.0 with 5.0.1 everywhere it shows up.
Comment 7 Seth Chandler 2003-01-18 00:42:04 UTC
emerge openoffice-1.0.1-r3, its now fixed in portage