Re: dlopen using relative path for libclamunrar

"G.W. Haywood" <[email protected]> Sun, 21 Feb 2021 12:22:11 +0000 (GMT)
Newsgroups gmane.comp.security.virus.clamav.devel
Message-ID <alpine.DEB.2.21.2102211218250.9238@piplus.local.jubileegroup.co.uk>
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.
_______________________________________________

clamav-devel mailing list
[email protected]
https://lists.clamav.net/mailman/listinfo/clamav-devel

Please submit your patches to our Github: https://github.com/Cisco-Talos/clamav-devel/pulls

Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml