Hi, i'm new.
My name's Vlad.
I'm writing to you because i've a problem compiling mod_clamav.

I've just installed clamav following instruction, infact it's up and running.
I've apache 2 up and running, but when i compile mod_clamav it returns me an error.


this is command:

./configure --with-apxs=/usr/sbin/apxs

and this is error:


. . checking dynamic linker characteristics... GNU/Linux ld.so checking for cl_scanfile in -lclamav... no configure: error: clamav library not found


in config.log it says:



configure:18786: checking for cl_scanfile in -lclamav
configure:18816: gcc -o conftest -g -O2 conftest.c -lclamav >&5
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(scanners.o)(.text+0x196): In function `cli_scanrar':
: undefined reference to `_pthread_cleanup_push'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(scanners.o)(.text+0x33f): In function `cli_scanrar':
: undefined reference to `_pthread_cleanup_pop'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(scanners.o)(.text+0x944): In function `cli_scangzip':
: undefined reference to `gzdopen'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(scanners.o)(.text+0x9a1): In function `cli_scangzip':
: undefined reference to `gzread'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(scanners.o)(.text+0xa01): In function `cli_scangzip':
: undefined reference to `gzclose'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(scanners.o)(.text+0xa44): In function `cli_scangzip':
: undefined reference to `gzclose'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(scanners.o)(.text+0xb15): In function `cli_scangzip':
: undefined reference to `gzclose'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(scanners.o)(.text+0xb33): In function `cli_scangzip':
: undefined reference to `gzclose'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(scanners.o)(.text+0xbcc): In function `cli_scanbzip':
: undefined reference to `BZ2_bzReadOpen'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(scanners.o)(.text+0xc38): In function `cli_scanbzip':
: undefined reference to `BZ2_bzRead'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(scanners.o)(.text+0xc94): In function `cli_scanbzip':
: undefined reference to `BZ2_bzReadClose'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(scanners.o)(.text+0xce9): In function `cli_scanbzip':
: undefined reference to `BZ2_bzReadClose'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(scanners.o)(.text+0xdcd): In function `cli_scanbzip':
: undefined reference to `BZ2_bzReadClose'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(zzip-file.o)(.text+0xb7): In function `zzip_file_close':
: undefined reference to `inflateEnd'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(zzip-file.o)(.text+0x4f2): In function `zzip_inflate_init':
: undefined reference to `inflateInit2_'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(zzip-file.o)(.text+0x672): In function `zzip_file_read':
: undefined reference to `inflate'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(zzip-file.o)(.text+0xd55): In function `zzip_rewind':
: undefined reference to `inflateInit2_'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libclamav.a(zzip-err.o)(.text+0x6a): In function `zzip_strerror':
: undefined reference to `zError'
collect2: ld returned 1 exit status
configure:18822: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mod_clamav"
| #define VERSION "0.13"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char cl_scanfile ();
| int
| main ()
| {
| cl_scanfile ();
| ;
| return 0;
| }
configure:18848: result: no
configure:18856: error: clamav library not found



where is my error??? Have i forgot somethings, or made some error??????


Thanks a lot and sorry for my poor english.....

Bye


------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to