[Clamav-devel] Fwd: LibClamAV Warning: Cannot dlopen libclamunrar_iface: file not found - unrar support unavailable
Micah Snyder (micasnyd)
micasnyd at cisco.com
Sun Jul 14 11:17:33 EDT 2019
Hi Chris,
You wouldn’t see libclamunrar_iface linked with clamd. It is intentionally not linked, but instead loaded at runtime. The intention is that you can run clamd without it, for the sake of linux package managers that restrict themselves from shipping code that is not entirely free. Libclamunrar is derived from RARLab's UnRAR library who's license has as stipulation that UnRAR may not be reverse engineered to create a RAR archiver / may only be used for extracting RAR archives. For this reason, we provide the libclamunrar_iface that is optional and can be installed separately.
The port was contributed here, by Yasuhiro Kimura: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236818
You can view the freebsd port, here: https://www.freshports.org/security/clamav/
If you expand the Pseudo-pkg-plist information, it appears that libclamunrar is included:
lib/libclamunrar.so
lib/libclamunrar.so.9
lib/libclamunrar.so.9.0.2
lib/libclamunrar_iface.so
lib/libclamunrar_iface.so.9
lib/libclamunrar_iface.so.9.0.2
I'm not sure why it isn't able to load libclamunrar_iface. May be worth asking via bugs.freebsd.org.
Micah
On 7/13/19, 9:00 PM, "clamav-devel on behalf of Chris" <clamav-devel-bounces at lists.clamav.net on behalf of chrcoluk at gmail.com> wrote:
Hi on restarting clamd or freshclam I get the following error.
LibClamAV Warning: Cannot dlopen libclamunrar_iface: file not found -
unrar support unavailable
This is on FreeBSD 11.2, compiled from ports, clamav-0.101.2,1 which
at this time is the latest version in the ports tree.
This same problem was reported several years ago and fixed in a patch
but I see no recent hits for it on google.
I ran ldd on the clamd binary and its not linked to any kind of unrar
files. So I dont know how unrar support is implemented.
any ideas?
_______________________________________________
clamav-devel mailing list
clamav-devel at lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-devel
Please submit your patches to our Bugzilla: http://bugzilla.clamav.net
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
More information about the clamav-devel
mailing list