LINUX.ORG.RU

clamav + libunrar не хотит собираться..


0

0

0.88.4 + libunrar, у меня после накладывания патча libunrar
не собирается ничего... (хотя патч под версию - clamav-0.88-libunrar3.patch)

clamav-0.88.4# patch -p1 < clamav-0.88-libunrar3.patch
patching file libclamav/Makefile.am
patching file libclamav/scanners.c
Hunk #2 succeeded at 113 (offset 1 line).
Hunk #3 succeeded at 333 (offset 1 line).
Hunk #4 succeeded at 1248 (offset 4 lines).
Hunk #5 succeeded at 1496 (offset 4 lines).
Hunk #6 succeeded at 1609 (offset 4 lines).
patching file libclamav/unrarlib.c
patching file libclamav/unrarlib.h


aclocal
autoconf
automake
./configure
make
[skip]
../libclamav/.libs/libclamav.so: undefined reference to `lzxd_free'
../libclamav/.libs/libclamav.so: undefined reference to `lzxd_init'
../libclamav/.libs/libclamav.so: undefined reference to `mspack_create_cab_decompressor'
../libclamav/.libs/libclamav.so: undefined reference to `zzip_dir_close'
../libclamav/.libs/libclamav.so: undefined reference to `zzip_file_open'
../libclamav/.libs/libclamav.so: undefined reference to `zzip_dir_fdopen'
../libclamav/.libs/libclamav.so: undefined reference to `mspack_default_system'
../libclamav/.libs/libclamav.so: undefined reference to `zzip_dir_read'
../libclamav/.libs/libclamav.so: undefined reference to `mspack_destroy_cab_decompressor'
../libclamav/.libs/libclamav.so: undefined reference to `zzip_file_close'
../libclamav/.libs/libclamav.so: undefined reference to `lzxd_decompress'
../libclamav/.libs/libclamav.so: undefined reference to `zzip_file_read'
collect2: ld returned 1 exit status
make[2]: *** [clamscan] Ошибка 1
make[2]: Leaving directory `/home/111/work/clamav-0.88.4/clamscan'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/111/work/clamav-0.88.4'
make: *** [all-recursive-am] Ошибка 2

dpkg -l | grep zzip
ii libzzip-0-12 0.12.83-4 library providing read access on ZIP-archive
ii zziplib-bin 0.12.83-4 library providing read access on ZIP-archive


там, возможно, дело в глючной версии autoconf

Valmont ★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.