nowsecure / r2frida

Radare2 and Frida better together.
MIT License
1.18k stars 121 forks source link

[ubuntu x86_64]can't install #493

Closed 2265290305 closed 10 months ago

2265290305 commented 1 year ago

which version of gcc do you use,i can't compile and install r2frida in my linux pc(x86_64 gcc 11), but I can install it on my phone (termux clang-16)

2265290305 commented 1 year ago

this is the errorsb7f0c30d5321ac806de3bc92b61c2a61(1).png

trufae commented 1 year ago

Which version of r2 do you have?

SRZEUS1990 commented 1 year ago

Try install like this in order . That's how mines worked . I'm using gcc 12.2.0 and R2 version 5.8.6 om Ubuntu 23.04

Radare2+r2frida

git clone https://github.com/radareorg/radare2.git

cd radare2 sudo apt-get install build-essential sys/install.sh

git clone https://github.com/nowsecure/r2frida.git

cd r2frida sudo apt-get install pkg-config r2pm -ci r2frida r2pm -i r2frida r2pm -U make

2265290305 commented 1 year ago

Try install like this in order . That's how mines worked . I'm using gcc 12.2.0 and R2 version 5.8.6 om Ubuntu 23.04

Radare2+r2frida

git clone https://github.com/radareorg/radare2.git

cd radare2 sudo apt-get install build-essential sys/install.sh

git clone https://github.com/nowsecure/r2frida.git

cd r2frida sudo apt-get install pkg-config r2pm -ci r2frida r2pm -i r2frida r2pm -U make

谢谢老外问题解决了

2265290305 commented 1 year ago

Which version of r2 do you have?

最新版本的

trufae commented 10 months ago

you probably have multiple versions of r2 installed in your system or wrong headers. r2frida builds and runs fine in ubuntu, as its tested on every commit in the CI. Closing because that seems to be an issue in your host and i cant reproduce. thanks for reporting!

trufae commented 10 months ago

PD: to clean your system, go to the r2 git repo and type: "make purge", this will remove all versions of r2 installed in your system, but you may probably want to check if there's any remaining package to purge with dpkg --purge too (make purge does this already, but better check with debian just in case)