Issue 100103

Summary: icu libs link against system libicudata.so.3, libicuuc.so.3
Product: utilities Reporter: Stephan Bergmann <stephan.bergmann.secondary>
Component: codeAssignee: ooo
Status: CLOSED FIXED QA Contact: Unknown <non-migrated>
Severity: Trivial    
Priority: P1 (highest) CC: hans-joachim.lankenau, issues, jens-heiner.rechtien, kurt.zenker, mdxonefour, nesshof, oliver.bolte, ruediger.timm
Version: OOO310m4Keywords: regression
Target Milestone: OOo 3.1   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
patch for icu/makefile.mk fixing the issue none

Description Stephan Bergmann 2009-03-10 17:30:59 UTC
Somebody from the OpenSolaris community reported off-line that
<quote>
I installed the OOo 3.1-beta2 [on OpenSolaris], but could [not] start it.  The
error message:
 ld.so.1: soffice.bin: fatal: libicuuc.so.3: open failed: No such file or directory
 ld.so.1: soffice.bin: fatal: relocation error: file
/opt/ooo-dev/basis3.1/program/libvclsi.so: symbol
__1cHicu_4_0OLEFontInstanceRgetDynamicClassID6kM_pv_: referenced symbol not found
 ld.so.1: soffice.bin: fatal: relocation error: file
/opt/ooo-dev/basis3.1/program/libtksi.so: symbol
__1cDvclJPDFWriterJAnyWidgetG__vtbl_: referenced symbol not found
 ld.so.1: soffice.bin: fatal: relocation error: file
/opt/ooo-dev/basis3.1/program/libsvtsi.so: symbol
__1cKVCLXDeviceOcreateGraphics6M_nDcomDsunEstarDunoJReference4n0DDawtJXGraphics____:
referenced symbol not found
 ld.so.1: soffice.bin: fatal: relocation error: file
/opt/ooo-dev3/program/../basis-link/program/libsofficeapp.so: symbol
__1cDsvtNRoadmapWizardGResize6M_v_: referenced symbol not found
 ld.so.1: soffice.bin: fatal: relocation error: file
/opt/ooo-dev3/program/soffice.bin: symbol soffice_main: referenced symbol not found
 ./soffice[134]: wait: 710: Killed
[...]   
The problem has been identified in the OpenSolaris community:
http://defect.opensolaris.org/bz/show_bug.cgi?id=7190.
</quote>

It appears that on unxsoli4 and unxsols4 (but not on other platforms like
unxlngi6) the libraries built in OOo module icu (libicui18n.so.40.0,
libicule.so.40.0, etc.) erroneously link against system libicudata.so.3 and
libicuuc.so.3 while all the other OOo libraries correctly link against
libicudata.so.40.0 and libicuuc.so.40.0 delivered from module icu.
Comment 1 mdxonefour 2009-04-09 12:16:43 UTC
MD: stopper issue, raised to P1
Comment 2 ooo 2009-04-09 12:30:46 UTC
I don't have time to investigate or work on this. Please find someone who does.
Comment 3 ooo 2009-04-09 14:56:48 UTC
Ok ok, I was convinced.. don't expect any result before Wednesday though.
Comment 4 ooo 2009-04-09 15:48:13 UTC
FYI: workaround to be able to run OOo3.1rc1: install the OpenSolaris icu package.
Comment 5 ooo 2009-04-09 16:15:41 UTC
With the great help of Ause identified the cause, regression introduced by CWS
hr58 for the new Solaris baseline, resulting in insufficient LDFLAGS -Lpaths.

I'll attach a patch to icu's makefile.mk and suggest to add this as a master fix
for in-time availability.
Comment 6 ooo 2009-04-09 16:17:57 UTC
Created attachment 61493 [details]
patch for icu/makefile.mk fixing the issue
Comment 7 oliver.bolte 2009-04-14 15:38:49 UTC
Patch commited for OOO310_m10 @270795
Comment 8 ooo 2009-07-03 21:14:43 UTC
This patch didn't make it into DEV300 until m51, could one of the release
engineers please apply it for the next milestone?
Thanks
  Eike
Comment 9 oliver.bolte 2009-07-06 11:53:10 UTC
already commited by IHI @273040.
Comment 10 jens-heiner.rechtien 2009-09-15 15:25:27 UTC
Close issue.