https://bugs.documentfoundation.org/show_bug.cgi?id=164047

--- Comment #15 from Patrick (volunteer) <[email protected]> ---
So doing several cross-compiles I keep coming back the following "dyld can't
find libicuuc.dylib.75 when loading libraptor2-lo.0.dylib" crash:

% otool -L
/Applications/LibreOfficeDev.app/Contents/Frameworks/libraptor2-lo.0.dylib
/Applications/LibreOfficeDev.app/Contents/Frameworks/libraptor2-lo.0.dylib:
       
/@.__________________________________________________OOO/lib/libraptor2-lo.0.dylib
(compatibility version 1.0.0, current version 1.0.0)
       
@__________________________________________________URELIB/libicuuc.dylib.75
(compatibility version 75.0.0, current version 75.1.0)

In LibreOffice 24.8.3 Intel, libraptor2-lo does *not* link to any version of
libicuuc.dylib. But in the Intel 25.2.0 Alpha 1 and nightly master builds, it
does link to the bundled libicuuc.dylib.75.

So I have been trying to stop libraptor2-lo from linking to libicuuc.dylib (see
debug patch below) but every time I "make clean && make" in external/redland, I
see icuuc and xml2 linked in workdir/UnpackedTarball/raptor/src/Makefile:

    -L/Volumes/LOBuilds/lode/dev/core/workdir/UnpackedTarball/icu/source/lib
-licuuc
-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib
-lxml2 -lz -lpthread -licucore -lm $(MEM_LIBS)

Any idea where icuuc is getting inserted into the unpacked raptor configuration
file? Below is the raptor configure command that is executed but no icuuc paths
in the command yet configure is putting ICU_LIBS from LibreOffice's
config_host.mk into raptors generated makefiles:

cd /Volumes/LOBuilds/lode/dev/core/workdir/UnpackedTarball/raptor/ && unset
Platform &&   export CCACHE_CPP2=1  CCACHE_DEPEND=1 &&    CFLAGS=" -O2   "
LDFLAGS='' CPPFLAGS=" " echo  ./configure --disable-gtk-doc
--enable-parsers="rdfxml ntriples turtle trig guess rss-tag-soup" --without-www
--without-xslt-config --build=x86_64-apple-darwin --host=x86_64-apple-darwin 
--prefix=/@.__________________________________________________OOO 
--enable-shared --disable-static   && make

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to