Closed cryptax closed 6 years ago
It cant find rcore because you don’t have pkgconfig installed
On 6 Jul 2018, at 14:10, cryptax notifications@github.com wrote:
I am trying to install r2frida this time in a Docker container which is based on an Ubuntu 16.04. I did r2pm init, r2pm update. Then I try r2pm -i r2frida. And it fails pretty quickly complaining it cannot find r_core. (see log below)
To my understanding, those are the radare2 core libraries? Why aren't they finding them? They're obviously there ;)
Home dir for radare2: /opt/radare2 That's what I have in ~/.local/share/radare2/r2pm:
db git pkg I tried to install another plugin (not r2frida) , and it seemed to work ok.
Work environment
Questions Answers OS/arch/bits (mandatory) Ubuntu 16.04.2 LTS File format of the file you reverse (mandatory) - Architecture/bits of the file (mandatory) x86/64 r2 -v full output, not truncated (mandatory) rradare2 2.7.0-git 18677 @ linux-x86-64 git.2.6.9-38-gb9ce57d commit: b9ce57d build: 2018-07-06__11:37:48 Expected behavior
Install r2frida. Though in that case, the issue seems to be with r2pm?
Actual behavior
r2pm -i r2frida
Already up-to-date. Install Done For r2frida Makefile:1: config.mk: No such file or directory ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for working directories... current using prefix '/usr/local' checking for c compiler... gcc checking for c++ compiler... g++ ERROR: Cannot find PKGCONFIG pkg-config Using PKGCONFIG: pkg-config checking pkg-config flags for r_core... no This package is required Makefile:128: recipe for target 'config.mk' failed make: *** [config.mk] Error 1 ERROR: Build failed Steps to reproduce the behavior
In a Docker container, clone radare2. Then install with sys/install.sh. Then r2pm init, then r2pm -i r2frida
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
ah yes - sorry. Stupid :(
i have the same error and pkg-config is already installed
How did you installed r2? Distros use to ship the pkgconfig files separately
hello. it work now. i deinstalled radare2 and reinstall it from GitHub. Thank you very much . Good bless you.
Le ven. 7 juin 2024 à 08:58, pancake @.***> a écrit :
How did you installed r2? Distros use to ship the pkgconfig files separately
— Reply to this email directly, view it on GitHub https://github.com/radareorg/radare2/issues/10642#issuecomment-2154301133, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZMC3MXIH5EI5PKW62FVKMTZGFR4FAVCNFSM6AAAAABI5UGK6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJUGMYDCMJTGM . You are receiving this because you commented.Message ID: @.***>
I am trying to install r2frida this time in a Docker container which is based on an Ubuntu 16.04. I did
r2pm init
,r2pm update
. Then I tryr2pm -i r2frida
. And it fails pretty quickly complaining it cannot findr_core
. (see log below)To my understanding, those are the radare2 core libraries? Why aren't they finding them? They're obviously there ;)
Home dir for radare2:
/opt/radare2
That's what I have in~/.local/share/radare2/r2pm
:I tried to install another plugin (not r2frida) , and it seemed to work ok.
Work environment
Expected behavior
Install r2frida. Though in that case, the issue seems to be with r2pm?
Actual behavior
Steps to reproduce the behavior
In a Docker container, clone radare2. Then install with
sys/install.sh
. Thenr2pm init
, thenr2pm -i r2frida