Monday, October 25, 2010

LibClamAV Warning: Cannot prepare for JIT, because it has already been converted to interpreter

This happens on systems where you installed 0.96.3. Clamav has released a newer version 0.96.4 and in case your repo doesn't have it listed, you can install it using the following commands (designed for CentOS 5 32-bit):
wget http://packages.sw.be/clamav/clamd-0.96.4-1.el5.rf.i386.rpm
wget http://packages.sw.be/clamav/clamav-0.96.4-1.el5.rf.i386.rpm
wget http://packages.sw.be/clamav/clamav-db-0.96.4-1.el5.rf.i386.rpm
yum -y upgrade clamd-0.96.4-1.el5.rf.i386.rpm clamav-0.96.4-1.el5.rf.i386.rpm clamav-db-0.96.4-1.el5.rf.i386.rpm
rm -f clamd-0.96.4-1.el5.rf.i386.rpm clamav-0.96.4-1.el5.rf.i386.rpm clamav-db-0.96.4-1.el5.rf.i386.rpm
If you happen to be running a 64-bit server:
wget http://packages.sw.be/clamav/clamd-0.96.4-1.el5.rf.x86_64.rpm
wget http://packages.sw.be/clamav/clamav-0.96.4-1.el5.rf.x86_64.rpm
wget http://packages.sw.be/clamav/clamav-db-0.96.4-1.el5.rf.x86_64.rpm
yum -y upgrade clamd-0.96.4-1.el5.rf.x86_64.rpm clamav-0.96.4-1.el5.rf.x86_64.rpm clamav-db-0.96.4-1.el5.rf.x86_64.rpm
rm -f clamd-0.96.4-1.el5.rf.x86_64.rpm clamav-0.96.4-1.el5.rf.x86_64.rpm clamav-db-0.96.4-1.el5.rf.x86_64.rpm
Enjoy!

Thanks,
James Hartig

4 comments:

DougAlder said...

James - I just got this warning this morning - would your fix work for CentOS 4

James Hartig said...

I can't say that it works because I have not tested it. I'm sure that you will be fine and I would attempt to install them. You can always downgrade if it presents a problem.

DougAlder said...

Thanks - I'll give it a shot

Anonymous said...

Thank you, your tips it is work for my server awesome :)