Common errors

This page lists common issues encountered by users.

AppImage crashes

If the linux AppImage binary crashes upon startup, make sure yourLD_LIBRARY_PATH environment variable is empty.#579


Compilation error

r_core development package not found

If you installed radare2 and still encounter this error, it could be that yourPATH environment variable is set improperly (doesn’t contain/usr/local/bin). That can be, for example, due to Qt Creator.appbeing copied over to /Applications. To fix this, append:/usr/local/bin to the PATH variable within the BuildEnvironment section in Qt Creator. See the screenshot below should youencounter any problems.

On macOS, you can also try:

  • PKG_CONFIG_PATH=$HOME/bin/prefix/radare2/lib/pkgconfig qmake
  • PKG_CONFIG_PATH=$HOME/cutter/radare2/pkgcfg qmake (for modernversion and if radare2 was installed like the submodule)_images/cutter_path_settings.pngOr radare2 libs could be installed to /usr/lib/pkgconfig/, so youcan add variable PKG_CONFIG_PATH with value /usr/lib/pkgconfig/

OS X libjpeg error

On macOS, QT5 apps fail to build on QtCreator if you have the libjpeg libinstalled with brew. Run this command to work around the issue:

  1. sudo mv /usr/local/lib/libjpeg.dylib /usr/local/lib/libjpeg.dylib.not-found

Keyboard layout issue

Some people report that they have keyboard issues. Usually it is becausethe Xorg layout is wrong. You can check it with: setxkbmap -queryMost of the time using setxkbmap us solves the issue, but it mightnot be enough and require a more advanced Xorg configuration.