[MacPorts] #62718: LibClamAV Warning: Cannot dlopen libclamunrar_iface

MacPorts noreply at macports.org
Tue Apr 27 11:21:11 UTC 2021


#62718: LibClamAV Warning: Cannot dlopen libclamunrar_iface
---------------------+------------------------
  Reporter:  pdvnl   |      Owner:  danielluke
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.6.4
Resolution:          |   Keywords:
      Port:  clamav  |
---------------------+------------------------

Comment (by pdvnl):

 the system is an old mac, imac 27" mid 2011, running osx 10.13.6 high
 sierra. using paralllels desktop 16.5.0 pro for osx 10.14.6. the host mac
 is too old to upgrade after 10.13.

 {{{
 # which freshclam
 /opt/local/bin/freshclam
 }}}

 {{{
 # locate freshclam
 /opt/local/bin/freshclam
 /opt/local/etc/freshclam.conf
 /opt/local/etc/freshclam.conf.sample
 /opt/local/include/libfreshclam.h
 /opt/local/lib/libfreshclam.2.dylib
 /opt/local/lib/libfreshclam.dylib
 /opt/local/share/man/man1/freshclam.1.gz
 /opt/local/share/man/man5/freshclam.conf.5.gz
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/sysutils
 /clamav-server/files/patch-etc-freshclam-conf-
 macports.diff
 }}}

 there is no difference is executing freshclam with or without an explicit
 path.

 however, today, after a few days of non-activity, i see this:
 {{{
 # /opt/local/bin/freshclam --debug --show-progress --foreground
 LibClamAV Warning: Cannot dlopen libclamunrar_iface:
 dlopen(libclamunrar_iface.a, 2): no suitable image found.  Did find:
         libclamunrar_iface.a: stat() failed with errno=13
         /var/root/lib/libclamunrar_iface.a: stat() failed with errno=13 -
 unrar support unavailable
 ClamAV update process started at Tue Apr 27 13:17:45 2021
 daily database available for update (local version: 26149, remote version:
 26152)
 Current database is 3 versions behind.
 Downloading database patch # 26150...
 LibClamAV debug: in cli_untgz()
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/COPYING
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.info
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.cfg
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.msu
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.ign2
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.ftm
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.mdb
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.idb
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.cdb
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.hsb
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.hdu
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.ndb
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.ldu
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.crb
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.sfp
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.wdb
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.fp
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.msb
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.ign
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.mdu
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.pdb
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.hsu
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.ldb
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.hdb
 LibClamAV debug: cli_untgz: Unpacking
 /opt/local/share/clamav/tmp.892aa97280/clamav-
 6225c631be26f1b746a343adb6d636b4.tmp/daily.ndu
 LibClamAV debug: in cli_untgz_cleanup()
 Time:    0.8s, ETA:    0.0s [========================>]
 20.02KiB/20.02KiB
 Downloading database patch # 26151...
 Time:    0.1s, ETA:    0.0s [========================>]
 22.00KiB/22.00KiB
 Downloading database patch # 26152...
 Time:    0.1s, ETA:    0.0s [========================>]
 40.59KiB/40.59KiB
 Testing database: '/opt/local/share/clamav/tmp.892aa97280/clamav-
 40fcefee1639ada43644d2857da83fc9.tmp-daily.cld' ...
 WARNING: Stderr output from database load : LibClamAV debug: Initialized
 0.103.2 engine [...] LibClamAV debug: Phishcheck cleaned up
 WARNING: Database successfully loaded, but there is stderr output
 Database test passed.
 daily.cld updated (version: 26152, sigs: 3973675, f-level: 63, builder:
 raynman)
 main.cvd database is up-to-date (version: 59, sigs: 4564902, f-level: 60,
 builder: sigmgr)
 bytecode.cvd database is up-to-date (version: 333, sigs: 92, f-level: 63,
 builder: awillia2)
 }}}

 it suggests to me that 1) there is an unrar problem but 2) it seems to
 work ???

-- 
Ticket URL: <https://trac.macports.org/ticket/62718#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list