Open wargio opened 4 months ago
@wargio it's unclear what is to be done here
i need to update the plugin. it's a reminder for myself.
I'd like to add that on macOS (I've tested on version 2.3.4) when app is started from terminal I see message as shown below. This message means that yara
is built using local openssl library, but can't be loaded. The solution for macOS is to provide bundled version of openssl.
ERROR: rz_sys_dlopen: error: /Volumes/Cutter/Cutter.app/Contents/Resources/lib/rizin/plugins/librz_yara.dylib (dlopen(/Volumes/Cutter/Cutter.app/Contents/Resources/lib/rizin/plugins/librz_yara.dylib, 0x0009): Library not loaded: '/opt/local/libexec/openssl3/lib/libcrypto.3.dylib'
Referenced from: '/Volumes/Cutter/Cutter.app/Contents/Resources/lib/rizin/plugins/librz_yara.dylib'
Reason: tried: '/opt/local/libexec/openssl3/lib/libcrypto.3.dylib' (code signature in <4137ACB3-****-****-****-************> '/opt/local/libexec/openssl3/lib/libcrypto.3.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/usr/lib/libcrypto.3.dylib' (no such file))
Plugins are loaded from "/Users/eirnym/Library/Application Support/rizin/cutter/plugins"
Native plugins are loaded from "/Users/eirnym/Library/Application Support/rizin/cutter/plugins/native"
Python plugins are loaded from "/Users/eirnym/Library/Application Support/rizin/cutter/plugins/python"
Loaded 0 plugin(s).
Plugins are loaded from "/Library/Application Support/rizin/cutter/plugins"
Plugins are loaded from "/Volumes/Cutter/Cutter.app/Contents/Resources/plugins"
Native plugins are loaded from "/Volumes/Cutter/Cutter.app/Contents/Resources/plugins/native"
Load Error for plugin "libcutter_yara_plugin.so" : "Cannot load library /Volumes/Cutter/Cutter.app/Contents/Resources/plugins/native/libcutter_yara_plugin.so: (dlopen(/Volumes/Cutter/Cutter.app/Contents/Resources/plugins/native/libcutter_yara_plugin.so, 0x0085): Library not loaded: '/opt/local/libexec/openssl3/lib/libcrypto.3.dylib'\n Referenced from: '/Volumes/Cutter/Cutter.app/Contents/Resources/lib/rizin/plugins/librz_yara.dylib'\n Reason: tried: '/opt/local/libexec/openssl3/lib/libcrypto.3.dylib' (code signature in <4137ACB3-****-****-****-************> '/opt/local/libexec/openssl3/lib/libcrypto.3.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/usr/lib/libcrypto.3.dylib' (no such file))"
Loaded 1 plugin(s).
qt.qpa.fonts: Populating font family aliases took 290 ms. Replace uses of missing font family "Helvetica, Arial, Sans-serif" with one that exists to avoid this cost.
if this is from the latest cutter, yes this is known. try to get the cutter dev version.
(libcrypto.so.1.1: cannot open shared object file: No such file or directory