Clamav 0.95

Denis Beauchemin Denis.Beauchemin at USherbrooke.ca
Wed Apr 1 16:46:05 IST 2009


Rick Cooper a écrit :
>  
>
>   
>> -----Original Message-----
>> From: mailscanner-bounces at lists.mailscanner.info 
>> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf 
>> Of Denis Beauchemin
>> Sent: Wednesday, April 01, 2009 11:04 AM
>> To: MailScanner discussion
>> Subject: Re: Clamav 0.95
>>
>> Rick Cooper a écrit :
>>     
>>>  
>>>
>>>   
>>>       
>>>> -----Original Message-----
>>>> From: mailscanner-bounces at lists.mailscanner.info 
>>>> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf 
>>>> Of Denis Beauchemin
>>>> Sent: Wednesday, April 01, 2009 9:51 AM
>>>> To: MailScanner discussion
>>>> Subject: Re: Clamav 0.95
>>>>
>>>> Randal, Phil a écrit :
>>>>     
>>>>         
>>>>> Over on the clamav-users mailing list, Edwin Török says:
>>>>>
>>>>> "Make sure there is a symlink 
>>>>>       
>>>>>           
>>>> /usr/lib64/libclamunrar_iface.so -> 
>>>> /usr/lib64/libclamunrar_iface.so.6, run ldconfig again if 
>>>>         
>> necessary."
>>     
>>>>     
>>>>         
>>>>> It'll be a while before I can test this.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Phil 
>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>> Phil,
>>>>
>>>> I tested it on a 32 bit system and it worked. Before the 
>>>> symlink I got:
>>>> service clamd restart
>>>> Stopping Clam AntiVirus Daemon:                            [FAILED]
>>>> Starting Clam AntiVirus Daemon: LibClamAV Warning: Cannot 
>>>> dlopen: file 
>>>> not found - unrar support unavailable
>>>>                                                            [  OK  ]
>>>>
>>>> I then did:
>>>> cd /usr/lib
>>>> ln -s libclamunrar_iface.so.6 libclamunrar_iface.so
>>>> service clamd restart
>>>> Stopping Clam AntiVirus Daemon:                            [  OK  ]
>>>> Starting Clam AntiVirus Daemon:                            [  OK  ]
>>>>
>>>> Thanks!
>>>>
>>>> Denis
>>>>
>>>>     
>>>>         
>>> For some reason (don't remember why) for several versions 
>>>       
>> now, the build
>>     
>>> scripts for clamav don't run ldconfig properly after 
>>>       
>> install. I have added a
>>     
>>> call to ldconfig after install and before restarting to 
>>>       
>> address this on my
>>     
>>> systems (in my own build script). I believe the original 
>>>       
>> post (on the clamav
>>     
>>> list) concerning the check for the symlink was to check for 
>>>       
>> the link and if
>>     
>>> it was missing run ldconfig manually and check again to 
>>>       
>> ensure ldconfig
>>     
>>> created the proper link. You should *not* have to create 
>>>       
>> that link by hand.
>>     
>>> Rick
>>>
>>>
>>> --
>>> This message has been scanned for viruses and
>>> dangerous content by MailScanner, and is
>>> believed to be clean.
>>>
>>>
>>>   
>>>       
>> Rick,
>>
>> Just tried it on my last MS server and it didn't work (RHEL 5.3):
>> # ldconfig
>> # service clamd restart
>> Stopping Clam AntiVirus Daemon:                            [  OK  ]
>> Starting Clam AntiVirus Daemon: LibClamAV Warning: Cannot 
>> dlopen: file 
>> not found - unrar support unavailable
>>                                                            [  OK  ]
>> # ln -s /usr/lib/libclamunrar_iface.so.6 
>> /usr/lib/libclamunrar_iface.so
>> # service clamd restart
>> Stopping Clam AntiVirus Daemon:                            [  OK  ]
>> Starting Clam AntiVirus Daemon:                            [  OK  ]
>>
>> Denis
>>
>>     
>
> IIRC one of the people having the issue with the 0.94x to 0.95 upgrade and
> not having the link built correctly  by ldconfig eventually found they had
> two copies of the lib one in /usr/lib and one in either /usr/local/lib or
> /lib and ldconfig built the link in the wrong place. Any way you look at it
> there is a problem as ldconfig should build the link against the most recent
> lib version. And I think (99.9% sure) the default location for the lib is
> /usr/local/lib. If you do an ls -lh /usr/local/lib/libclamunrar*
> /usr/lib/libclamunrar do you find only one copy/version in one place?
>
> Rick
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
>   
Rick,

# updatedb
# locate libclamunrar
/usr/lib/libclamunrar.so.6
/usr/lib/libclamunrar.so.6.0.2
/usr/lib/libclamunrar_iface.so
/usr/lib/libclamunrar_iface.so.6
/usr/lib/libclamunrar_iface.so.6.0.2

Nothing outside /usr/lib...

Denis

-- 
   _
  °v°   Denis Beauchemin, analyste
 /(_)\  Université de Sherbrooke, S.T.I.
  ^ ^   T: 819.821.8000x62252 F: 819.821.8045




More information about the MailScanner mailing list