tools-android icon indicating copy to clipboard operation
tools-android copied to clipboard

macos ld.lld: error: libicudata.so: unknown file type

Open guanzidashu opened this issue 1 year ago • 3 comments

ld.lld: error: /Volumes/Lenovo/Android/GNUstep/armeabi-v7a/lib/libicudata.so: unknown file type ld.lld: error: /Volumes/Lenovo/Android/GNUstep/armeabi-v7a/lib/libicudata.so: unknown file type clang-17: error: linker command failed with exit code 1 (use -v to see invocation) clang-17: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [xmlcatalog] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [xmllint] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2

phases/16-libxml2.sh failed for ABI armeabi-v7a

this version image command : ./build.sh --prefix /Volumes/Lenovo/Android/GNUstep -n /Users/hachi/Library/Android/sdk/ndk/26.1.10909125 branch :master

guanzidashu avatar Sep 14 '24 10:09 guanzidashu

Can you check the type of libicudata.so by running this?

$ file /Volumes/Lenovo/Android/GNUstep/armeabi-v7a/lib/libicudata.so

For me the output is this:

ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), static-pie linked, BuildID[sha1]=2c57548568adc3435b2e76204b97d65c7df8846f, not stripped

triplef avatar Sep 16 '24 10:09 triplef

no, it only displays data, not elf32. image build.log

guanzidashu avatar Sep 18 '24 02:09 guanzidashu

Maybe the symlink is broken? Can you try deleting the ~/Library/Android/GNUstep folder and building again?

triplef avatar Sep 18 '24 06:09 triplef