-----Original Message-----
From: clamav-users-boun...@lists.clamav.net 
[mailto:clamav-users-boun...@lists.clamav.net] On Behalf Of McDonald, Dan
Sent: Thursday, March 26, 2009 2:35 PM
To: clamav-users@lists.clamav.net
Subject: Re: [Clamav-users] Problems builing in solaris related to unrar 
libraries

On Thu, 2009-03-26 at 17:16 -0400, 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

it should be looking for libclamunrar_iface.so.6 (if it finds the .la
file) or libclamunrar_iface.so (if it can't)


-- 
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com

=============================================================
Daniel,
    Just for kicks, I configured it using 
"./configure --disable-clamav --disable-static --enable-shared" so that it 
would create the ".so.6" libs. With other programs, using shared libraries 
usually resulted in a core dump; but not this time.
When I installed it, it didn't copy the shared libs; I had to manually copy 
them. But it worked.
Thanks!

- Joe Vigil

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

Reply via email to