[Clamav-devel] dlopen using relative path for libclamunrar

G.W. Haywood clamav-devel at jubileegroup.co.uk
Sun Feb 21 12:22:11 UTC 2021


Hi there,

On Sun, 21 Feb 2021, Mark Allan wrote:

> Ever since enabling the macOS hardened runtime for ClamAV, I've been
> getting the following error/warning message whenever I try to call
> any of the ClamAV binaries:
> 
> LibClamAV Warning: Cannot dlopen libclamunrar_iface: dlopen(libclamunrar_iface.a, 2): no suitable image found.  Did find:
> 	file system relative paths not allowed in hardened programs - unrar support unavailable

Is there nothing after "did find:" in the message?

> Is there any reason why the libclamunrar library would be being
> referenced via relative path instead of absolute, and is there any
> way I can fix this?

If you want to stay legal, I'm not sure it's straightforward:

https://bugzilla.clamav.net/show_bug.cgi?id=12279

-- 

73,
Ged.


More information about the clamav-devel mailing list