go build -ldflags -w -trimpath -buildmode=c-shared -o /data/data/com.termux/files/usr/tmp/fyne-work-902498925/lib/arm64-v8a/libe.so basic failed: exit status 1
# runtime/cgo
cgo: exec /data/data/com.termux/files/home/android-ndk-r23c/toolchains/llvm/prebuilt/linux-aarch64/bin/aarch64-linux-android31-clang: fork/exec /data/data/com.termux/files/home/android-ndk-r23c/toolchains/llvm/prebuilt/linux-aarch64/bin/aarch64-linux-android31-clang: no such file or directory
What version of Go are you using (
go version
)?since go 1.16 to go 1.20/android64 Current: ~ $ go version go version go1.20 android/arm64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I was trying compile
.so
as first step of https://github.com/fyne-io/fyne/pull/3649, and go seems like that it can not see/open https://github.com/Lzhiyong/termux-ndk, it is working way, because I made video with https://github.com/vlang/v (which is 80% similar to Golang, Vlang is young, less mature, it also have some advantage compare GO), but I do not understand why Golang can not do it ...What did you expect to see?
What did you see instead?
compile normaly