Hi,
I've compiled both Cutter and rz-ghidra from source and from the stable branches but when I run Cutter, it reports:
Load Error for plugin "librz_ghidra_cutter.so" : "Cannot load library /home/rah/.local/share/rizin/cutter/plugins/native/librz_ghidra_cutter.so: (core_ghidra.so: cannot open shared object file: No such file or directory)"
Loaded 0 plugin(s).
The file does exist in the rz-ghidra installation directory:
rah@lotus:~$ ls -l /usr/local/stow/rz-ghidra-git/lib/rizin/plugins/core_ghidra.so
-rw-r--r-- 1 rah staff 15172184 Aug 5 20:42 /usr/local/stow/rz-ghidra-git/lib/rizin/plugins/core_ghidra.so
I configured Cutter using:
-DCMAKE_INSTALL_PREFIX=/usr/local/stow/cutter-git \
-DCUTTER_ENABLE_GRAPHVIZ=ON \
-DCUTTER_ENABLE_PYTHON=ON
and rz-ghidra using:
-DCMAKE_INSTALL_PREFIX=/usr/local/stow/rz-ghidra-git \
-DBUILD_CUTTER_PLUGIN=ON \
-DCMAKE_PREFIX_PATH=/usr/local/stow/cutter-git
I also used stow to link both installations into /usr/local and ran sudo ldconfig afterwards.
I don't believe I've done anything wrong or missed anything so this should work?
rah