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

Bug 282569

Summary: apps-office/openoffice: oowriter won't start due to missing libjpeg.so.62
Product: Gentoo Linux Reporter: Stephen J. Turnbull <stephen>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal CC: tommy
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stephen J. Turnbull 2009-08-24 14:20:22 UTC
After updating my system with emerge --sync; emerge -u world, the JPEG library was updated to version 7.0, and oowriter failed to start because it was looking for libjpeg.so.62:

$ oowriter ~/Service/JJAS/intrinsic-motivation-final.docx/usr/lib64/openoffice/program/soffice.bin:
error while loading shared libraries: libjpeg.so.62:
cannot open shared object file: No such file or directory

running revdep-rebuild --library=libjpeg.so.62 didn't help.  All other apps and libraries (except KDE 3.5) were rebuild successfully (ie, revdep-rebuild --pretend doesn't find them).
Comment 1 Thomas Sachau gentoo-dev 2009-08-24 14:29:26 UTC
Rebuild openoffice (either "emerge --oneshot openoffice" or try just "revdep-rebuild -v -- -a". If that does not fix it, reopen this bug.
Comment 2 Thomas Sachau gentoo-dev 2009-08-24 14:32:23 UTC
*** Bug 282571 has been marked as a duplicate of this bug. ***
Comment 3 Stephen J. Turnbull 2009-08-24 17:52:01 UTC
OK, so rebuilding OpenOffice *yet again* (with 'emerge --oneshot openoffice') works.  Is it known why OpenOffice needs to be built twice to succeed?  (Yes, it was definitely built the first time I ran revdep-rebuild.)
Comment 4 Thomas Sachau gentoo-dev 2009-08-24 18:22:59 UTC
It may be possible with the preserved-libs feature of portage-2.2_rcX that openoffice linked against the preserved old lib, which was not possible after the second run since it was removed.