Closed krim404 closed 1 year ago
It looks this is the dup of #246.
nope, it worked a few releases earlier without a problem (on MacOS 13), also its not an icu4c error, as the build error is in liblibltfs_dat.
as the build error is in liblibltfs_dat.
I don't think so. See the message,
ld: warning: ignoring file '/Users/krim/GIT/ltfs/messages/liblibltfs_dat.a': found architecture 'x86_64', required architecture 'arm64'
The build error happened while linking the objects. And it said the object liblibltfs_dat.a
has wrong architecture. I believe liblibltfs_dat.a
is successfully generated by ICU.
I'm not sure what you were done from previous env to current env. But I guess you update the ICU by homebrew. But it might provide x86 binary (assume run with rosetta) because MacOS 14 is really new OS.
i checked the libicu files on my system (and reinstalled them multiple times, just to make sure), they are (for example) libicudata.73.2.dylib: Mach-O 64-bit dynamically linked shared library arm64
so pretty sure it is not libicu. :-(
Sadly i dont see which libraries are used in the creation of the libibltfs_dat.a, it is possible that brew has something to do with it.
Hmm
Did you install ICU package provided from IBM or other vendors? It looks if it is installed, it might be used. The package provided from vendors are compiled for x86_64, so generated object by genrb
command is for x86_64.
the ICU.framework is indeed existing and its an intel binary, even on my pure Apple Silicon machine. I have no clue how the configure script is working, but shouldnt this use the files of (for ex. on my build): /opt/homebrew/Cellar/icu4c/73.2 with higher priority?
however, just deleted the framework - now i can compile again. i have indeed installed IBMs ITDT-ge a few month ago, but i didnt think that this would install a framework in the OSX system or that this could even override the brew packages.
thank you very much
The current repository is not buildable anymore on MacOS 14 Sonoma with an Apple Silicon (ARM) CPU.
The build process somehow tries to build X86 binaries and then aborts with architecture error.