rabin2 error: Library handler has failed for 'core_pdd.so'

247 Views Asked by At

I tried to run rabin2 (radare2 util) and got that error:

rabin2
# ERROR: Library handler has failed for '~/.local/share/radare2/plugins/core_pdd.so'

I've tried to google the error and got nothing: "Library handler has failed for" query with quotes and about 3 results, including radare2 source code.

This error is definitely thrown from here, but I can't figure out what exactly is wrong.

radare2 was installed according to author's instructions. So was r2dec. Also, I used export PATH="$PATH:$HOME/.r2env/versions/radare2@git/bin" to make it work.

At a quick glance, pdd and r2dec work pretty fine when executed from r2 console.

Could you give me a clue how to fix that?


Versions:

r2 -v
# radare2 5.8.5 30144 @ linux-x86-64 git.5.8.4-98-g0cf6e7a5cc, 
# commit: 0cf6e7a5cc90554d735f4071b8b4888005e63428 build: 2023-04-08__22:52:24
uname -r
# 5.15.0-69-generic
lsb_release -a
# No LSB modules are available.
# Distributor ID: Ubuntu
# Description:    Ubuntu 22.04.2 LTS
# Release:        22.04
# Codename:       jammy

r2dec version: 5.7.8+ (commit 23819a6)

1

There are 1 best solutions below

0
dwir On

I had a similar issue earlier while trying to pipe the output to a file. Rabin2 is used in a terminal or a running instance of radare2.
For example:

r2 /path/to/file
[0x00000000] > .!rabin2 -flags $FILE

I'd have put this in a comment, but I don't have the reputation. Here is the man page showing the flags and use case.