Hi,
The unit test CppunitTest_dbaccess_firebird_test fails on Mac with the
following message: "Could not find acceptable ICU library" during use
of libfbclient.dylib.
Related patch:
https://gerrit.libreoffice.org/27642/
The changes in this matter compared to fb 2.5 is that now the ICU
libraries are linked run time and they are no longer included
directly. The env. variable DYLD_LIBRARY_PATH is used to specify the
location of the libraries during the build. During the build, this is
no problem, because I can specify the absolute path of the ICU libs in
UnpackedTarball.
I guess we cannot export this variable each time fbclient is used,
with the current path to the ICU libs.
I tried to use the macosx-change-install-names tool, and making some
magic rpaths, but I did not succeed yet. Now the install path of
libfbclient.dylib is similar to the other libs' install name in
instdir (checked with otool -D ), but it didn't help.
According to dlopen man page, dlopen looks for the library in path
specified by env. variables or the process working directory. IIUC
these are no options in our case.
So what's the proper way to specify the library location of run time
used ICU libraries for libfbclient.dylib? (possibly it's in the same
directory using LO-bundled ICU in every case)
Thanks,
Tamás Bunth
Context
- Firebird - Macosx ICU rpath · Bunth Tamás
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.