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

Bug 266621

Summary: preserved libs is unable to handle icu 3->4 upgrade
Product: Portage Development Reporter: Serkan Kaba (RETIRED) <serkan>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: centr-o, dark.knight.ita, esigra, kogorman
Priority: High    
Version: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 240323    
Attachments: emerge --info

Description Serkan Kaba (RETIRED) gentoo-dev 2009-04-18 06:45:58 UTC
After an upgrade to icu-4 some shared libs were preserved but the list missed libicudata.so.38 which is in NEEDED entries of the package itself. It was probably indirectly referenced by openoffice which broke after the upgrade. Here's the error message.

/usr/lib64/openoffice/program/soffice.bin: error while loading shared libraries: libicudata.so.38: cannot open shared object file: No such file or directory
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2009-04-18 06:47:06 UTC
Created attachment 188771 [details]
emerge --info
Comment 2 Zac Medico gentoo-dev 2009-04-18 09:11:43 UTC
Having --as-needed in LDFLAGS should solve problems like this, since openoffice apparently doesn't link directly to libicudata.so.38.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-27 19:18:45 UTC
*** Bug 265068 has been marked as a duplicate of this bug. ***
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-27 19:19:16 UTC
*** Bug 267618 has been marked as a duplicate of this bug. ***
Comment 5 Kevin O'Gorman 2009-04-29 13:09:31 UTC
(In reply to comment #2)
> Having --as-needed in LDFLAGS should solve problems like this, since openoffice
> apparently doesn't link directly to libicudata.so.38.
> 

I don't know what that would do.  I did discover that recompiling OpenOffice
did not help, but that downgrading icu by masking 4.0 made OpenOffice work again.
Consider it a workaround.
Comment 6 Zac Medico gentoo-dev 2011-05-18 18:57:24 UTC
In 2.2.0_alpha34 there are lots of preserve-libs fixes, including bug 286714. Please re-open if you can still reproduce this with 2.2.0_alpha34.