On 06/27/2011 11:37 PM, Paul Kraus wrote:
> 2011/6/27 Török Edwin <ed...@clamav.net>:
> 
>> This will tell you the search path used by ClamAV to load unrar:
>> $ grep LT_DLSEARCH_PATH clamav-config.h
> 
> Thanks for the pointer.
> 
>> On my box it is:
>> /lib:/usr/lib:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/lib32:/usr/lib32
> 
> On my system it is just:
> 
> #define LT_DLSEARCH_PATH "/lib:/usr/lib"
> 
> Is it supposed to be updated by ./configure ?

Yes, it is generated by configure, is it wrong?

But the actual search path used at runtime is just a subset of that, just 
$libdir (where libclamav.so is installed).

> I know I can just go in
> and change it, but is there an automatic mechanism to update it ?
> Even though the check-log says that it is looking in the right place,
> it is really only looking at the locations specified here.
> 

Run clamscan --debug, and it'll tell you the exact searchpath and all the files 
it tries (try removing libclamunrar_iface.so* and see all the files it tries).

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to