nowsecure / r2frida

Radare2 and Frida better together.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ubuntu x86_64]can't install

2265290305 opened this issue · comments

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)

this is the errorsb7f0c30d5321ac806de3bc92b61c2a61(1).png

Which version of r2 do you have?

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

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

谢谢老外问题解决了

Which version of r2 do you have?

最新版本的

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!

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)