Bug 60012 - LibreOfficePython.framework in official LO 4.0 RC2 build links against /usr/local/lib/libintl.8.dylib
Summary: LibreOfficePython.framework in official LO 4.0 RC2 build links against /usr/l...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.0.0.2 rc
Hardware: x86 (IA32) macOS (All)
: high critical
Assignee: Norbert Thiebaud
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: mab4.0
  Show dependency treegraph
 
Reported: 2013-01-29 12:16 UTC by Stephan Bergmann
Modified: 2013-01-30 07:18 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Bergmann 2013-01-29 12:16:53 UTC
At least with <http://download.documentfoundation.org/libreoffice/testing/4.0.0/mac/x86/LibreOffice_4.0.0.2_MacOS_x86.dmg>,

> $ find /Volumes/LibreOffice/LibreOffice.app/Contents/MacOS -name \*.dylib -exec bash -c 'otool -L "$0" | grep -F libintl. && printf "^^^%s\n" "$0"' {} \;
>  /usr/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
> ^^^/Volumes/LibreOffice/LibreOffice.app/Contents/MacOS/LibreOfficePython.framework/Versions/3.3/lib/libpython3.3.dylib
>  /usr/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
> ^^^/Volumes/LibreOffice/LibreOffice.app/Contents/MacOS/LibreOfficePython.framework/Versions/3.3/lib/libpython3.3m.dylib
>  /usr/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
> ^^^/Volumes/LibreOffice/LibreOffice.app/Contents/MacOS/LibreOfficePython.framework/Versions/3.3/lib/python3.3/config-3.3m/libpython3.3.dylib
>  /usr/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
> ^^^/Volumes/LibreOffice/LibreOffice.app/Contents/MacOS/LibreOfficePython.framework/Versions/3.3/lib/python3.3/config-3.3m/libpython3.3m.dylib

shows that libraries in the contained LibreOfficePython.framework link against some /usr/local/lib/libintl.8.dylib that apparently happened to be available on the build machine ("TinderBox: MacOSX TDF Release" according to "LibreOffice - About LibreOffice"), but not on the Mac OS X 10.7.5 machine I try to run this on.

This causes Python-related functionality in LO to fail.  For one, "File - Wizards - Letter..." and "File - Wizards - Fax..." do nothing, see bug 59248.  For another "Tools - Macros - Organize Macros - Python... - LibreOffice Macros" lists no macros when you click the triangle in front of it.
Comment 1 Norbert Thiebaud 2013-01-30 07:18:47 UTC
python's configure is hunting down that one by itself...
the workaround for now is to just delete that library from /usr/local/lib
and rebuild python => the find command given above return empty.