Hi,

It is confirmed that it has to do with the ZLIB that RHEL 4 includes.
Currently I am using Centos 4.5 (a community supprted RHEL alternative built
from RHEL codes).

My /usr/lib directory listed zlib as zlib-1.2.1.2-1.2 orignally. Thecontetns
of my /usr/lib is as below (with both .so files were linked to
libz.so.1.2.1.2-1.2)

/usr/lib/libz.so
/usr/lib/libz.so.1.2.1.2-1.2
/usr/lib/libz.so.1
/usr/lib/libz.a

What I did was:
-  To remove all libz files from /usr/lib. 
-  Downloaded zlib.1.2.3.tar.gz from the home site
-  Confiugured it with "./configure --prefix=/usr". Then make and make
install
-  Then reconfigured it with -s switch to build shared library (to create
.so files)
-  Made and installed again.
-  The install for shared library runs ldconfig but somehow I needed to run
it manually again.
-  Compiled clamd 0.93 without error and installed it.

This is a good practice since it is also patching the 1.2.1 which has known
vulnerabilities.

Cheers,

+--
Kerem ERSOY

 
Re: [Clamav-users] clamav-0.93 error
Roberto Ullfig
Wed, 16 Apr 2008 06:43:59 -0700
George R. Kasica wrote:
>> George R. Kasica wrote:
>>     
>>>> We have the same issue. I'd take a guess that it's because we're
running 
>>>> zlib-1.2.1.2-1.2 which is the latest offered by RHEL 4.
>>>>     
>>>>         
>>> Ditto error here with zlib 1.2.3 and I've made sure there are no
>>> duplicate zlibs out here:
>>>
>>> the only one out here is /usr/local/lib/libz.a
>>>
>>>   
>>>       
>> Read my next e-mail. We also had v1.2.3 version of /usr/local/lib/libz.a 
>> and got the same error. In /usr/lib we have the old rhel 4 version (I 
>> don't think that matters for this issue). I added the shared version of 
>> v1.2.3 (run configure -s if you have zlib source) to /usr/local/lib and 
>> all now works fine.
>>     
> Tried that here with no success :(
>   
Did you run "make clean" followed by "./configure" and then running make?

-- 
Roberto Ullfig - [EMAIL PROTECTED]

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



_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to