klamav not compatible with new clamav

hi
i just upgraded klamav in opensuse repositories and it doesnt work and it says somethins about a missing lib

the previous version worked finbe

and i couldn’t compile the new version
had anybody got the new version working?

uninstall the old & then install the new,see if that works

Andy

When I have used it in the past from the update of Clam usually comes before Klam
Just wait a week or so and you should be able to update them both. This assumes you are installing from .rpm’s in the repo’s.

no it didn’t help

its more than two weeks now and in its website its source is supposed to be compatible with clamav0.9x but i cat compile it

Post the compiling error msg and missing library.

if gcc -DHAVE_CONFIG_H -I. -I. -I…/… -I/opt/kde3/include -I/usr/lib/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -MT clamdmail.o -MD -MP -MF “.deps/clamdmail.Tpo” -c -o clamdmail.o clamdmail.c;
then mv -f “.deps/clamdmail.Tpo” “.deps/clamdmail.Po”; else rm -f “.deps/clamdmail.Tpo”; exit 1; fi
clamdmail.c: In function ‘clamdscan’:
clamdmail.c:163: error: ‘CL_EFSYNC’ undeclared (first use in this function)
clamdmail.c:163: error: (Each undeclared identifier is reported only once
clamdmail.c:163: error: for each function it appears in.)
make[3]: *** [clamdmail.o] Error 1

Hi
You could try the klamav 0.44 version here?
http://download.opensuse.org/repositories/home:/benstein/openSUSE_11.0/


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 10:41, 1 user, load average: 0.32, 0.22, 0.25
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

if you look i said that i tried the new version in yast repositories

that is the version you suggest witch is not compatible with clamav new version

Hi
Hmmm, the src rpm builds fine here…?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 2:46, 2 users, load average: 1.13, 0.69, 0.31
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

can you explain how i use this src package?
i use source from klamav website and it didn’t worked and i never worked with src.rpm packages

Hi
You need to install rpmbuild, then it’s just a matter of running;


rpmbuild --rebuild <name_of_src_rpm>

Now this will go through all the configure, make etc as well as
build an installable rpm in /usr/src/packages/RPMS/ which you can copy
or just install for example the klamav one;


rpm -Uhv  /usr/src/packages/RPMS/i586/klamav-0.44-11.1.i586.rpm


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 3:16, 2 users, load average: 0.31, 0.21, 0.20
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12


rpmrebuild --rebuild  klamav-0.44-11.1.src.rpm
/usr/lib/rpmrebuild/rpmrebuild.sh: unrecognized option `--rebuild'
For more information, try  `/usr/lib/rpmrebuild/rpmrebuild.sh --help'

now what?

Hi
Here is a link to a copy of the whole build output;
http://nopaste.com/p/a0BhS5ztL


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 3:33, 3 users, load average: 0.58, 0.58, 0.46
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

Hi
It’s rpmbuild not rpmREbuild :slight_smile:


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 3:47, 2 users, load average: 0.00, 0.06, 0.20
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

i tried your method and it builds fine but when installing it wants to downgrade clamav to its previous version, so it still cant be installed

Hi
I’m running ClamAV 0.94 from the updates? What version do you have?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 0:54, 2 users, load average: 0.53, 0.17, 0.07
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

same version from updates

Hi
So it tries to downgrade it to 0.93? What happens if you let it
downgrade clamav, then once that’s done update clamav again?

Never had the issue of it wanting to downgrade… a real strange one.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 2:27, 1 user, load average: 0.15, 0.21, 0.24
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

if i do that then when upgrading clamav it will downgrade klamav :slight_smile: