[libvoikko] Libreoffice-voikko build broken on MacOSX

Sjur Moshagen sjurnm at mac.com
Tue May 28 21:17:42 EEST 2013


28. mai 2013 kl. 17:44 skrev Harri Pitkänen <hatapitk at iki.fi>:

> Try removing the lines ending with "> build/voikko.map" and
> ">> build/voikko.map". And remove "build/voikko.map" from the linker command. 
> I think this symbol map is not needed anymore but I might be wrong.

That seems to work, but it uncovered another linking issue:

ld: warning -L: directory name (/Users/adminis//MACOSXexample.out/lib) does not exist
ld: warning can't open dynamic library: @loader_path/libuno_cppu.dylib.3 referenced from: /Users/adminis//macosx/lib/libuno_cppuhelpergcc3.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: warning can't open dynamic library: @loader_path/libreg.dylib.3 referenced from: /Users/adminis//macosx/lib/libuno_cppuhelpergcc3.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: warning can't open dynamic library: @loader_path/libuno_sal.dylib.3 referenced from: /Users/adminis//macosx/lib/libuno_cppuhelpergcc3.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: warning can't open dynamic library: @loader_path/libuno_salhelpergcc3.dylib.3 referenced from: /Users/adminis//macosx/lib/libuno_cppuhelpergcc3.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: warning can't open dynamic library: @loader_path/libxmlreader.dylib referenced from: /Users/adminis//macosx/lib/libuno_cppuhelpergcc3.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: Undefined symbols:
__ZN7hfst_ol13ZHfstOspeller10read_zhfstERKSs
__ZN7hfst_ol13ZHfstOspellerC1Ev
__ZN7hfst_ol13ZHfstOspellerD1Ev
__ZNK7hfst_ol13ZHfstOspeller12get_metadataEv
__ZN7hfst_ol13ZHfstOspeller7suggestERKSs
__ZN7hfst_ol13ZHfstOspeller5spellERKSs
__ZN9salhelper21SimpleReferenceObjectD2Ev referenced from @__________________________________________________URELIB/libuno_cppuhelpergcc3.dylib.3 expected to be defined in @loader_path/libuno_salhelpergcc3.dylib.3


Something seems to be wrong with my setup, although I have followed the instructions, and prepared the shell with the SDK setup etc.

Where is @loader_path defined?

Sjur




More information about the Libvoikko mailing list