I've compiled the 0.95rc2 here on Solaris and when installed and I run
the clamd I get the following error but its still running.
# /usr/local/clamav/sbin/clamd
LibClamAV Warning: Cannot dlopen: file not found - unrar support
unavailable
I thought all I had to do was to have it commented out in clamd.conf
# Due to license issues libclamav does not support RAR 3.0 archives
(onlythe
# old 2.0 format is supported). Because some users report stability
problems
# with unrarlib it's disabled by default and you must uncomment the
directive
# below to enable RAR 2.0 support.
# Default: disabled
#ScanRAR
Tue Mar 17 11:25:12 2009 -> +++ Started at Tue Mar 17 11:25:12 2009
Tue Mar 17 11:25:12 2009 -> clamd daemon 0.95rc2 (OS: solaris2.9,
ARCH:
sparc, CPU: sparc)
Tue Mar 17 11:25:12 2009 -> Running as user root (UID 0, GID 0)
Tue Mar 17 11:25:12 2009 -> Log file size limit disabled.
Tue Mar 17 11:25:12 2009 -> Reading databases from /var/lib/clamav
Tue Mar 17 11:25:12 2009 -> Not loading PUA signatures.
Tue Mar 17 11:25:17 2009 -> Loaded 521958 signatures.
Tue Mar 17 11:25:17 2009 -> LOCAL: Unix socket
file /var/lib/clamav/clamd.sock
Tue Mar 17 11:25:17 2009 -> LOCAL: Setting connection queue length to
30
Tue Mar 17 11:25:17 2009 -> Limits: Global size limit set to 104857600
bytes.
Tue Mar 17 11:25:17 2009 -> Limits: File size limit set to 26214400
bytes.
Tue Mar 17 11:25:17 2009 -> Limits: Recursion level limit set to 16.
Tue Mar 17 11:25:17 2009 -> Limits: Files limit set to 10000.
Tue Mar 17 11:25:17 2009 -> Archive support enabled.
Tue Mar 17 11:25:17 2009 -> Archive: Blocking encrypted archives.
Tue Mar 17 11:25:17 2009 -> Algorithmic detection enabled.
Tue Mar 17 11:25:17 2009 -> Portable Executable support enabled.
Tue Mar 17 11:25:17 2009 -> ELF support enabled.
Tue Mar 17 11:25:17 2009 -> Detection of broken executables enabled.
Tue Mar 17 11:25:17 2009 -> Mail files support enabled.
Tue Mar 17 11:25:17 2009 -> OLE2 support enabled.
Tue Mar 17 11:25:17 2009 -> PDF support enabled.
Tue Mar 17 11:25:17 2009 -> HTML support enabled.
Tue Mar 17 11:25:17 2009 -> Self checking every 600 seconds.
But that doesn't seem to stop it from trying to load rar support. How
do I fix the problem on this sun box? I'm NOT seeing the same issue on
Red Hat Linux ES4 and looking at the /usr/local/clamav/lib directory
there seems to be libclamunrar files:
# pwd
/usr/local/clamav
bash-2.05# ls -la lib
total 11140
drwxr-xr-x 3 root root 512 Mar 17 10:57 .
drwx------ 8 root root 512 Mar 17 10:57 ..
-rw-r--r-- 1 root root 2800532 Mar 17 10:56 libclamav.a
-rwxr-xr-x 1 root root 1056 Mar 17 10:56 libclamav.la
lrwxrwxrwx 1 root root 18 Mar 17 10:56 libclamav.so ->
libclamav.so.6.0.1
lrwxrwxrwx 1 root root 18 Mar 17 10:56 libclamav.so.6
->
libclamav.so.6.0.1
-rwxr-xr-x 1 root root 2411864 Mar 17 10:56
libclamav.so.6.0.1
-rw-r--r-- 1 root root 193688 Mar 17 10:56 libclamunrar.a
-rwxr-xr-x 1 root root 1009 Mar 17 10:56 libclamunrar.la
lrwxrwxrwx 1 root root 21 Mar 17 10:56 libclamunrar.so
->
libclamunrar.so.6.0.1
lrwxrwxrwx 1 root root 21 Mar 17 10:56
libclamunrar.so.6 ->
libclamunrar.so.6.0.1
-rwxr-xr-x 1 root root 173728 Mar 17 10:56
libclamunrar.so.6.0.1
-rw-r--r-- 1 root root 28728 Mar 17 10:56
libclamunrar_iface.a
-rwxr-xr-x 1 root root 1098 Mar 17 10:56
libclamunrar_iface.la
lrwxrwxrwx 1 root root 27 Mar 17 10:56
libclamunrar_iface.so
-> libclamunrar_iface.so.6.0.1
lrwxrwxrwx 1 root root 27 Mar 17 10:56
libclamunrar_iface.so.6 -> libclamunrar_iface.so.6.0.1
-rwxr-xr-x 1 root root 31140 Mar 17 10:56
libclamunrar_iface.so.6.0.1
drwxr-xr-x 2 root root 512 Mar 17 10:57 pkgconfig
Solaris
# version
Machine hardware: sun4u
OS version: 5.9
Processor type: sparc
Hardware: SUNW,Sun-Fire-V240
The following components are installed on your system:
Sun Studio 12
Sun Studio 12 C Compiler
Sun Studio 12 C++ Compiler
Sun Studio 12 Tools.h++ 7.1
Sun Studio 12 C++ Standard 64-bit Class Library
Sun Studio 12 Garbage Collector
Sun Studio 12 Fortran 95
Sun Studio 12 IDE
Sun Studio 12 Debugger GUI
Sun Studio 12 Performance Analyzer (including collect, ...)
Sun Studio 12 Performance Library
Sun Studio 12 LockLint
Sun Studio 12 Building Software (including dmake)
Sun Studio 12 Documentation Set
Sun Studio 12 /usr symbolic links and GNOME menu item
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.9
SunOS_sparc 2007/05/03
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/CC": Sun C++ 5.9
SunOS_sparc 2007/05/03
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/f90": Sun Fortran
95
8.3 SunOS_sparc 2007/05/03
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/analyzer": Sun
Analyzer
7.6 SunOS_sparc 2007/05/03
version of "/opt/SUNWspro/bin/../prod/bin/../../bin/dmake": Sun
Distributed
Make 7.8 SunOS_sparc 2007/05/03
--
===[George R. Kasica]=== +1 262 677 0766
President +1 206 374 6482 FAX
Netwrx Consulting Inc. Jackson, WI USA
http://www.netwrx1.com
[email protected]
ICQ #12862186
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml