lgf143
(usa Debian)
Enviado em 24/04/2008 - 10:52h
Bom dia
Sou usua´rio Debian ETCH e estou tentando instalar a versão 0.93 do clamav pois quando atualizo a 0.92.1 com freshclam ele pede para atualizar para 0.93
baixei o clamav0.93 compilo ele ./configure vai normal não da nem um erro mais quando dou o comando make ele mostra dois erros abaixo make completo:
debian:/usr/src/clamav-0.93# make
make all-recursive
make[1]: Entrando no diretório `/usr/src/clamav-0.93'
Making all in libclamunrar
make[2]: Entrando no diretório `/usr/src/clamav-0.93/libclamunrar'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/usr/src/clamav-0.93/libclamunrar'
Making all in libclamunrar_iface
make[2]: Entrando no diretório `/usr/src/clamav-0.93/libclamunrar_iface'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/usr/src/clamav-0.93/libclamunrar_iface'
Making all in libclamav
make[2]: Entrando no diretório `/usr/src/clamav-0.93/libclamav'
Making all in lzma
make[3]: Entrando no diretório `/usr/src/clamav-0.93/libclamav/lzma'
make[3]: Nada a ser feito para `all'.
make[3]: Saindo do diretório `/usr/src/clamav-0.93/libclamav/lzma'
Making all in .
make[3]: Entrando no diretório `/usr/src/clamav-0.93/libclamav'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -I/usr/local/include -g -O2 -MT others.lo -MD -MP -MF .deps/others.Tpo -c -o others.lo others.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -I/usr/local/include -g -O2 -MT others.lo -MD -MP -MF .deps/others.Tpo -c others.c -fPIC -DPIC -o .libs/others.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -I/usr/local/include -g -O2 -MT others.lo -MD -MP -MF .deps/others.Tpo -c others.c -o others.o >/dev/null 2>&1
mv -f .deps/others.Tpo .deps/others.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -thread-safe -version-info 4:1:0 -no-undefined -Wl,--version-script,../libclamav/libclamav.map -o libclamav.la -rpath /usr/local/lib matcher-ac.lo matcher-bm.lo matcher.lo md5.lo others.lo readdb.lo cvd.lo dsig.lo str.lo scanners.lo textdet.lo filetypes.lo rtf.lo blob.lo mbox.lo message.lo table.lo text.lo ole2_extract.lo vba_extract.lo msexpand.lo pe.lo upx.lo htmlnorm.lo chmunpack.lo rebuildpe.lo petite.lo wwunpack.lo unsp.lo aspack.lo packlibs.lo fsg.lo mew.lo upack.lo line.lo untar.lo unzip.lo inflate64.lo special.lo binhex.lo is_tar.lo tnef.lo autoit.lo strlcpy.lo regcomp.lo regerror.lo regexec.lo regfree.lo unarj.lo bzlib.lo nulsft.lo infblock.lo pdf.lo spin.lo yc.lo elf.lo sis.lo uuencode.lo phishcheck.lo phish_domaincheck_db.lo phish_whitelist.lo regex_list.lo mspack.lo cab.lo entconv.lo hashtab.lo dconf.lo lzma_iface.lo explode.lo textnorm.lo -L/usr/local/lib -lz -lpthread lzma/liblzma.la ../libclamunrar_iface/libclamunrar_iface.la
rm -fr .libs/libclamav.a .libs/libclamav.la .libs/libclamav.lai .libs/libclamav.so .libs/libclamav.so.4 .libs/libclamav.so.4.0.1
gcc -shared .libs/matcher-ac.o .libs/matcher-bm.o .libs/matcher.o .libs/md5.o .libs/others.o .libs/readdb.o .libs/cvd.o .libs/dsig.o .libs/str.o .libs/scanners.o .libs/textdet.o .libs/filetypes.o .libs/rtf.o .libs/blob.o .libs/mbox.o .libs/message.o .libs/table.o .libs/text.o .libs/ole2_extract.o .libs/vba_extract.o .libs/msexpand.o .libs/pe.o .libs/upx.o .libs/htmlnorm.o .libs/chmunpack.o .libs/rebuildpe.o .libs/petite.o .libs/wwunpack.o .libs/unsp.o .libs/aspack.o .libs/packlibs.o .libs/fsg.o .libs/mew.o .libs/upack.o .libs/line.o .libs/untar.o .libs/unzip.o .libs/inflate64.o .libs/special.o .libs/binhex.o .libs/is_tar.o .libs/tnef.o .libs/autoit.o .libs/strlcpy.o .libs/regcomp.o .libs/regerror.o .libs/regexec.o .libs/regfree.o .libs/unarj.o .libs/bzlib.o .libs/nulsft.o .libs/infblock.o .libs/pdf.o .libs/spin.o .libs/yc.o .libs/elf.o .libs/sis.o .libs/uuencode.o .libs/phishcheck.o .libs/phish_domaincheck_db.o .libs/phish_whitelist.o .libs/regex_list.o .libs/mspack.o .libs/cab.o .libs/entconv.o .libs/hashtab.o .libs/dconf.o .libs/lzma_iface.o .libs/explode.o .libs/textnorm.o -Wl,--whole-archive lzma/.libs/liblzma.a -Wl,--no-whole-archive -Wl,--rpath -Wl,/usr/src/clamav-0.93/libclamunrar_iface/.libs -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -lz -lpthread ../libclamunrar_iface/.libs/libclamunrar_iface.so -Wl,--version-script -Wl,../libclamav/libclamav.map -Wl,-soname -Wl,libclamav.so.4 -o .libs/libclamav.so.4.0.1
(cd .libs && rm -f libclamav.so.4 && ln -s libclamav.so.4.0.1 libclamav.so.4)
(cd .libs && rm -f libclamav.so && ln -s libclamav.so.4.0.1 libclamav.so)
rm -fr .libs/libclamav.lax
mkdir .libs/libclamav.lax
rm -fr .libs/libclamav.lax/liblzma.a
mkdir .libs/libclamav.lax/liblzma.a
(cd .libs/libclamav.lax/liblzma.a && ar x /usr/src/clamav-0.93/libclamav/lzma/.libs/liblzma.a)
ar cru .libs/libclamav.a matcher-ac.o matcher-bm.o matcher.o md5.o others.o readdb.o cvd.o dsig.o str.o scanners.o textdet.o filetypes.o rtf.o blob.o mbox.o message.o table.o text.o ole2_extract.o vba_extract.o msexpand.o pe.o upx.o htmlnorm.o chmunpack.o rebuildpe.o petite.o wwunpack.o unsp.o aspack.o packlibs.o fsg.o mew.o upack.o line.o untar.o unzip.o inflate64.o special.o binhex.o is_tar.o tnef.o autoit.o strlcpy.o regcomp.o regerror.o regexec.o regfree.o unarj.o bzlib.o nulsft.o infblock.o pdf.o spin.o yc.o elf.o sis.o uuencode.o phishcheck.o phish_domaincheck_db.o phish_whitelist.o regex_list.o mspack.o cab.o entconv.o hashtab.o dconf.o lzma_iface.o explode.o textnorm.o .libs/libclamav.lax/liblzma.a/LzmaStateDecode.o
ranlib .libs/libclamav.a
rm -fr .libs/libclamav.lax
creating libclamav.la
(cd .libs && rm -f libclamav.la && ln -s ../libclamav.la libclamav.la)
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -I/usr/local/include -DCLI_MEMFUNSONLY -g -O2 -MT libclamav_internal_utils_la-others.lo -MD -MP -MF .deps/libclamav_internal_utils_la-others.Tpo -c -o libclamav_internal_utils_la-others.lo `test -f 'others.c' || echo './'`others.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -I/usr/local/include -DCLI_MEMFUNSONLY -g -O2 -MT libclamav_internal_utils_la-others.lo -MD -MP -MF .deps/libclamav_internal_utils_la-others.Tpo -c others.c -fPIC -DPIC -o .libs/libclamav_internal_utils_la-others.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -I/usr/local/include -DCLI_MEMFUNSONLY -g -O2 -MT libclamav_internal_utils_la-others.lo -MD -MP -MF .deps/libclamav_internal_utils_la-others.Tpo -c others.c -o libclamav_internal_utils_la-others.o >/dev/null 2>&1
mv -f .deps/libclamav_internal_utils_la-others.Tpo .deps/libclamav_internal_utils_la-others.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -DCLI_MEMFUNSONLY -g -O2 -static -o libclamav_internal_utils.la libclamav_internal_utils_la-str.lo libclamav_internal_utils_la-others.lo
rm -fr .libs/libclamav_internal_utils.a .libs/libclamav_internal_utils.la
ar cru .libs/libclamav_internal_utils.a libclamav_internal_utils_la-str.o libclamav_internal_utils_la-others.o
ranlib .libs/libclamav_internal_utils.a
creating libclamav_internal_utils.la
(cd .libs && rm -f libclamav_internal_utils.la && ln -s ../libclamav_internal_utils.la libclamav_internal_utils.la)
make[3]: Saindo do diretório `/usr/src/clamav-0.93/libclamav'
make[2]: Saindo do diretório `/usr/src/clamav-0.93/libclamav'
Making all in clamscan
make[2]: Entrando no diretório `/usr/src/clamav-0.93/clamscan'
gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I.. -I.. -I../shared -I../libclamav -I/usr/local/include -g -O2 -MT others.o -MD -MP -MF .deps/others.Tpo -c -o others.o others.c
mv -f .deps/others.Tpo .deps/others.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o ../libclamav/libclamav.la -lpthread
gcc -g -O2 -o .libs/clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o ../libclamav/.libs/libclamav.so -lpthread -Wl,--rpath -Wl,/usr/local/lib
creating clamscan
make[2]: Saindo do diretório `/usr/src/clamav-0.93/clamscan'
Making all in clamd
make[2]: Entrando no diretório `/usr/src/clamav-0.93/clamd'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../shared -I../libclamav -I/usr/local/include -g -O2 -MT clamd.o -MD -MP -MF .deps/clamd.Tpo -c -o clamd.o clamd.c
mv -f .deps/clamd.Tpo .deps/clamd.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o clamd output.o cfgparser.o getopt.o misc.o network.o options.o clamd.o tcpserver.o localserver.o session.o thrmgr.o server-th.o scanner.o others.o clamuko.o dazukoio_compat12.o dazukoio.o ../libclamav/libclamav.la -lpthread
gcc -g -O2 -o .libs/clamd output.o cfgparser.o getopt.o misc.o network.o options.o clamd.o tcpserver.o localserver.o session.o thrmgr.o server-th.o scanner.o others.o clamuko.o dazukoio_compat12.o dazukoio.o ../libclamav/.libs/libclamav.so -lpthread -Wl,--rpath -Wl,/usr/local/lib
creating clamd
make[2]: Saindo do diretório `/usr/src/clamav-0.93/clamd'
Making all in clamdscan
make[2]: Entrando no diretório `/usr/src/clamav-0.93/clamdscan'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/usr/src/clamav-0.93/clamdscan'
Making all in freshclam
make[2]: Entrando no diretório `/usr/src/clamav-0.93/freshclam'
gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I.. -I.. -I../shared -I../libclamav -I/usr/local/include -g -O2 -MT freshclam.o -MD -MP -MF .deps/freshclam.Tpo -c -o freshclam.o freshclam.c
mv -f .deps/freshclam.Tpo .deps/freshclam.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o freshclam output.o cfgparser.o getopt.o misc.o options.o sha256.o cdiff.o tar.o freshclam.o manager.o notify.o dns.o execute.o nonblock.o mirman.o ../libclamav/libclamav.la -lresolv -lpthread
gcc -g -O2 -o .libs/freshclam output.o cfgparser.o getopt.o misc.o options.o sha256.o cdiff.o tar.o freshclam.o manager.o notify.o dns.o execute.o nonblock.o mirman.o ../libclamav/.libs/libclamav.so -lresolv -lpthread -Wl,--rpath -Wl,/usr/local/lib
cdiff.o: In function `cdiff_apply':
../shared/cdiff.c:984: undefined reference to `gzdopen'
../shared/cdiff.c:994: undefined reference to `gzgets'
../shared/cdiff.c:1016: undefined reference to `gzclose'
../shared/cdiff.c:1010: undefined reference to `gzclose'
tar.o: In function `tar_addfile':
../shared/tar.c:82: undefined reference to `gzwrite'
../shared/tar.c:95: undefined reference to `gzwrite'
../shared/tar.c:111: undefined reference to `gzwrite'
manager.o: In function `buildcld':
/usr/src/clamav-0.93/freshclam/manager.c:932: undefined reference to `gzclose'
/usr/src/clamav-0.93/freshclam/manager.c:944: undefined reference to `gzclose'
/usr/src/clamav-0.93/freshclam/manager.c:884: undefined reference to `gzopen'
/usr/src/clamav-0.93/freshclam/manager.c:913: undefined reference to `gzclose'
collect2: ld returned 1 exit status
make[2]: ** [freshclam] Erro 1
make[2]: Saindo do diretório `/usr/src/clamav-0.93/freshclam'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/usr/src/clamav-0.93'
make: ** [all] Erro 2
debian:/usr/src/clamav-0.93#
gostaria de resolver isso, alguem pode me ajudar
Obrigado