[Bug 386457] Re: Add support for clamav 0.95.2
amiroot
amiroot at yahoo.com
Mon Sep 7 01:49:25 UTC 2009
I tried the 0.13-5 patch and I got the follow error:
php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-
zts-20060613/clamav.so: undefined symbol: php_cl_scanfile
Once I comment this line (line 344 in clamav.c) and recompile the error
got removed and it works fine!!! It even works on zip file as long as
you setup a correct recursive limit. Let me know if it is a correct way
to fix the problem.
I made some very minor amendment base on your patch. Sorry that I don't
know how to use diff / patch so that I upload the whole clamav.c. Here
are the list of changes:
1. Change CLAMAV_G(dbpath) to cl_retdbdir() in MINIT (line 166)
2. Commented php_cl_scanfile in line in cl_scanfile
3. added php clamav version and libclamav version under MINFO
Actually I tried added the number of virus signature into MINFO but
failed (sorry that I'm not that familiar with C). Also I'd suggest that
the dbpath should be detected by configure script but sorry that I don't
know how to modify the m4...
I really appreciate you guys effort. Why don't submit this module to
PECL? I think it's a very useful module and I really hope that some
talent can maintain it (is it too greedy????)
** Attachment added: "Y:\clamav.c"
http://launchpadlibrarian.net/31405945/Y%3A%5Cclamav.c
** Attachment removed: "Y:\clamav.c"
http://launchpadlibrarian.net/31405945/Y%3A%5Cclamav.c
--
Add support for clamav 0.95.2
https://bugs.launchpad.net/bugs/386457
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list