radare2 icon indicating copy to clipboard operation
radare2 copied to clipboard

Error when installing

Open Ret2c7 opened this issue 1 year ago • 3 comments
trafficstars

the version of capstone

Name: capstone
Version: 5.0.1
Summary: Capstone disassembly engine
Home-page: https://www.capstone-engine.org
Author: Nguyen Anh Quynh
Author-email: [email protected]
License: UNKNOWN

All the errors seem to come from the p/arm/plugin_cs.c file

image

Ret2c7 avatar Jan 08 '24 10:01 Ret2c7

Maybe this capstone was compiled without arm64 support? Can you share more context like how did u installed capstone or the configure flags to r2?

trufae avatar Jan 08 '24 15:01 trufae

for the capstone:

pip3 install capstone

And I have also attempted the method mentioned in the 'COMPILE.TXT' file from the Capstone GitHub repository, which is

./make.sh
sudo ./make.sh install

and for the radare2

curl -Ls https://github.com/radareorg/radare2/releases/download/5.8.8/radare2-5.8.8.tar.xz | tar xJv
radare2-5.8.8/sys/install.sh

I tried again, and the installation command is as follows. However, the output log indicates 'Cannot find system-wide Capstone. The final error message displayed is as follows: image

Ret2c7 avatar Jan 10 '24 09:01 Ret2c7

Try building r2 from git. The last release is very old

trufae avatar Jan 10 '24 11:01 trufae