dlopen using relative path for libclamunrar

Mark Allan <[email protected]> Sun, 21 Feb 2021 00:43:07 +0000
Newsgroups gmane.comp.security.virus.clamav.devel
Message-ID <[email protected]>
Hi there,

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 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?

The other libraries such as libclamav, libclammspack etc appear to load fine.

I'd appreciate any help you can give.

Thanks
Mark
_______________________________________________

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