Vigil, Joe wrote:
> My environment:
>     AIX 4.3.3 (yeah, I know it's old)
>     GCC 2.95.2
>     Clamav v0.95
>  
> I'm getting the same error " LibClamAV Warning: Cannot dlopen: file not found 
> - unrar support unavailable".
> I've tried setting the LIBPATH variable to "/usr/local/lib" (LIBPATH is the 
> AIX equivalent to LD_LIBRARY_PATH).
> Here's the contents of /usr/local/lib:
> /usr/local/lib joe: ls -l libclam*
> -rw-r--r--   1 root     system   1799258 Mar 25 15:16 libclamav.a
> -rwxr-xr-x   1 root     system       978 Mar 25 15:16 libclamav.la
> -rw-r--r--   1 root     system    125990 Mar 25 15:16 libclamunrar.a
> -rwxr-xr-x   1 root     system       918 Mar 25 15:16 libclamunrar.la
> -rw-r--r--   1 root     system     17008 Mar 25 15:16 libclamunrar_iface.a
> -rwxr-xr-x   1 root     system       969 Mar 25 15:16 libclamunrar_iface.la
> 
> Here's how I built it:
> export CC="/usr/local/bin/gcc"
> export CFLAGS="-D_XOPEN_SOURCE=500 -D_ALL_SOURCE"
> export LDFLAGS="-lpthreads -liconv"


This may be helpful to sort out linking issues in AIX:

http://castaglia.org/proftpd/doc/README.AIX.html

dp
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to