On 04/24/2010 01:44 PM, Eduardo wrote:
>>>>> ====================
>>>>> All 11 tests passed
>>>>> (1 test was not run)
>>>>> ====================
>>>>>
>>>>> The problem
>>>>> when I run clamd or freshclam result this errors
>>>>>
>>>>> freshclam: relocation error: freshclam: symbol cli_versig2, version
>>>>> CLAMAV_PRIVATE not defined in file libclamav.so.6 with link time
>>>>> reference
>>>>>
>>>>> clamd
>>>>> LibClamAV Error: cl_engine_set_num: Incorrect field number
>>>>> Invalid bytecode security setting TrustSigned: Invalid argument passed
>>>>> to function
>>>>
>>>> Did you run make install, and ldconfig?
>>>>
>>>>>
>>>
>>> Yes, I do
>>> So I always that make upgrade I never had problem, but in 0.96 start
>>> problems
>>> my SO is Slackware 12.2.
>>>
>>> Below I paste all errors
>>>
>>> # freshclam
>>> ClamAV update process started at Fri Apr 23 07:32:22 2010  main.cld is
>>> up to date (version: 52, sigs: 704727, f-level: 44, builder:  sven)
>>> Trying host db.br.clamav.net (200.17.202.1)...
>>> Downloading daily-10746.cdiff [100%]
>>> freshclam: relocation error: freshclam: symbol cli_versig2, version
>>> CLAMAV_PRIVATE not defined in file libclamav.so.6 with link time
>>> reference
>>>
>>> # clamd
>>> LibClamAV Error: cl_engine_set_num: Incorrect field number Invalid
>>> bytecode security setting TrustSigned: Invalid argument passed to
>>> function
>>
>> What is the output of these commands:
>> $ which freshclam
>> $ which clamd
>> $ clamconf -n
>> $ ldd `which freshclam`
>> $ ldd `which clamd`
>>
>> Best regards,
>> --Edwin
> 
> 
> Hi, I maked this tests and the result:
> 
> r...@smtpmail:~# which freshclam
> /usr/bin/freshclam
> 
> r...@smtpmail:~# which clamd
> /usr/sbin/clamd
> 
> r...@smtpmail:~# clamconf -n
> clamconf: relocation error: clamconf: symbol have_clamjit, version
> CLAMAV_PRIVATE not defined in file libclamav.so.6 with link time reference
> 
> r...@smtpmail:~# ldd `which freshclam`
>        linux-gate.so.1 =>  (0xffffe000)
>        libclamav.so.6 => /usr/local/lib/libclamav.so.6 (0xb7e79000)

This is not right, you have freshclam installed in /usr/bin, and the lib
is taken from /usr/local.

Do you have a freshclam in /usr/local/bin too?

How did you ./configure ClamAV, did you use --prefix=/usr?

If yes, remove the /usr/local/lib/libclam*

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