dumproid icon indicating copy to clipboard operation
dumproid copied to clipboard

"No such file or directory" when built for and ran on x86_64 android

Open HeroponRikiBestest opened this issue 2 years ago • 0 comments

After changing line 12 in the makefile to GOOS=linux GOARCH=amd64 $(GOBUILD) -o $(BINARY_NAME), attempting to run the program on a rooted x86_64 android device results in

waydroid:/ # /data/local/tmp/dumproid -p 2911                                  
/system/bin/sh: /data/local/tmp/dumproid: No such file or directory

Output of file to show that the executable is indeed there:

127|waydroid:/ # file /data/local/tmp/dumproid                                 
/data/local/tmp/dumproid: ELF executable, 64-bit LSB x86-64, dynamic (/lib64/ld-linux-x86-64.so.2), not stripped

I apologize if I missed something; I'm not the most knowledgeable on this subject.

HeroponRikiBestest avatar Sep 23 '22 11:09 HeroponRikiBestest