Bug 60012

Summary: LibreOfficePython.framework in official LO 4.0 RC2 build links against /usr/local/lib/libintl.8.dylib
Product: LibreOffice Reporter: Stephan Bergmann <sberg.fun>
Component: LibreOfficeAssignee: Norbert Thiebaud <nthiebaud>
Status: RESOLVED FIXED    
Severity: critical CC: jorendc
Priority: high    
Version: 4.0.0.2 rc   
Hardware: x86 (IA32)   
OS: macOS (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 54157    

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.