Всем привет ! я начинающий , поэтому сильно не ругайте
Поставил altLinux server 4.0 настроил squid,ip_forward поставил clamav но при попытке объеденить squid и clamav через icap неполучается.
при наборе ./configure --prefix=/usr/local/c-icap --without-clamav ....specific portions of Makefiles ... no
Может кто подскажет , или предложит другой вариант проверки http трафика налету
help icap
Модераторы: Skull, Модераторы разделов
Re: help icap
проблема в том что при попытке поставить уже существуюший, ошибка и на этом все дело встало, а хочется сделать проверку вирусов налету
Re: help icap
Код:
./configure
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for clamav 0.90.x or newer... yes
checking for dlopen in -ldl... (cached) yes
checking for inflate in -lz... yes
checking for ANSI C header files... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for off_t... yes
checking for off_t... (cached) yes
checking size of off_t... 4
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for inet_aton... yes
checking for mmap... yes
checking for munmap... yes
checking if union semun defined... no
checking if posix 1003.1b interprocess semaphores works... yes
checking if fcntl file locking works... yes
checking if have pthread_rwlock... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating c-icap.conf
config.status: creating services/Makefile
config.status: creating services/echo/Makefile
config.status: creating services/url_check/Makefile
config.status: creating services/clamav/Makefile
config.status: creating modules/Makefile
config.status: creating config.h
config.status: executing depfiles commands
после
Код: Выделить всё
make
make all-recursive
make[1]: Entering directory `/home/distr/c_icap-180407'
Making all in .
make[2]: Entering directory `/home/distr/c_icap-180407'
/bin/sh ./libtool --tag=CC --mode=link gcc -D_REENTRANT -g -O2 -Wall -o c-icap -rdynamic -rpath /usr/local/lib c_icap-aserver.o c_icap-request.o c_icap-cfg_param.o c_icap-proc_threads_queues.o c_icap-http_auth.o c_icap-access.o c_icap-log.o c_icap-service.o c_icap-module.o c_icap-commands.o c_icap-mpmt_server.o c_icap-dlib.o -lpthread libicapapi.la -ldl
gcc -D_REENTRANT -g -O2 -Wall -o .libs/c-icap -rdynamic c_icap-aserver.o c_icap-request.o c_icap-cfg_param.o c_icap-proc_threads_queues.o c_icap-http_auth.o c_icap-access.o c_icap-log.o c_icap-service.o c_icap-module.o c_icap-commands.o c_icap-mpmt_server.o c_icap-dlib.o -lpthread ./.libs/libicapapi.so -lz -ldl -Wl,--rpath -Wl,/usr/local/lib
./.libs/libicapapi.so: undefined reference to `dlsym'
./.libs/libicapapi.so: undefined reference to `dlerror'
./.libs/libicapapi.so: undefined reference to `dlopen'
./.libs/libicapapi.so: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[2]: *** [c-icap] Error 1
make[2]: Leaving directory `/home/distr/c_icap-180407'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/distr/c_icap-180407'
make: *** [all] Error 2
Re: help icap
Помогите, такая же ошибка и у меня. Стоит ALT Linux Desktop 4.1.0, Squid 3, Clamav 0.94.2. Пересобирал с какими угодно параметрами. Одно и тоже. В систему у же столько поставил пакетов, караул. Так и немогу добиться выполнения команды: make.
Очень хорошая статья, но не получаеться не в какую.
http://voler.ru/category/linux/svyazka_squ...amavc_icap.html
Скачал пакеты. но не все их получилось поставить.
c-icap-060708-6.fc8sl.src.rpm пакет от Sergeil +
c-icap-060708-6.fc9.src.rpm +
c_icap-060708-6.fc9.i686.rpm +
c-icap-server-060708-6.fc9.i686.rpm -
c-icap-client-060708-6.fc9.i686.rpm -
c-icap-modules-060708-6.fc9.i686.rpm -
c_icap-devel-060708-6.fc9.i686.rpm +
c-icap-debuginfo-060708-6.fc9.i686.rpm -
Нет больше сил, пятый день борюсь.
Код:
[root@localhost c_icap-060708rc1]# make
Making all in .
make[1]: Entering directory `/fileserver/tmp/c_icap-060708rc1'
/bin/sh ./libtool --tag=CC --mode=link gcc -Iinclude/ -DCONFDIR=\"/usr/local/c_icap/etc\" -DMODSDIR=\"/usr/local/c_icap/lib/c_icap/\"
-DSERVDIR=\"/usr/local/c_icap/lib/c_icap/\" -DLOGDIR=\"/usr/local/c_icap/var/log/\" -D_REENTRANT -g -O2 -Wall -rdynamic -rpath /usr/local/c_icap/lib
-o c-icap c_icap-aserver.o c_icap-request.o c_icap-cfg_param.o c_icap-proc_threads_queues.o c_icap-http_auth.o c_icap-access.o c_icap-log.o c_icap-service.o
c_icap-module.o c_icap-commands.o c_icap-mpmt_server.o c_icap-dlib.o -lpthread libicapapi.la -ldl
gcc -Iinclude/ -DCONFDIR=\"/usr/local/c_icap/etc\" -DMODSDIR=\"/usr/local/c_icap/lib/c_icap/\" -DSERVDIR=\"/usr/local/c_icap/lib/c_icap/\"
-DLOGDIR=\"/usr/local/c_icap/var/log/\" -D_REENTRANT -g -O2 -Wall -rdynamic -o .libs/c-icap c_icap-aserver.o c_icap-request.o c_icap-cfg_param.o c_icap-
proc_threads_queues.o c_icap-http_auth.o c_icap-access.o c_icap-log.o c_icap-service.o c_icap-module.o c_icap-commands.o c_icap-mpmt_server.o c_icap-dlib.o
-lpthread ./.libs/libicapapi.so -ldl -Wl,--rpath -Wl,/opt/c_icap/lib -Wl, --rpath -Wl,/usr/local/c_icap/lib
./.libs/libicapapi.so: undefined reference to `dlsym'
./.libs/libicapapi.so: undefined reference to `dlerror'
./.libs/libicapapi.so: undefined reference to `dlopen'
./.libs/libicapapi.so: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [c-icap] Ошибка 1
make[1]: Leaving directory `/fileserver/tmp/c_icap-060708rc1'
make: *** [all-recursive] Ошибка 1
Очень хорошая статья, но не получаеться не в какую.
http://voler.ru/category/linux/svyazka_squ...amavc_icap.html
Скачал пакеты. но не все их получилось поставить.
c-icap-060708-6.fc8sl.src.rpm пакет от Sergeil +
c-icap-060708-6.fc9.src.rpm +
c_icap-060708-6.fc9.i686.rpm +
c-icap-server-060708-6.fc9.i686.rpm -
c-icap-client-060708-6.fc9.i686.rpm -
c-icap-modules-060708-6.fc9.i686.rpm -
c_icap-devel-060708-6.fc9.i686.rpm +
c-icap-debuginfo-060708-6.fc9.i686.rpm -
Нет больше сил, пятый день борюсь.
Re: help icap
Столкнулся с этой же проблемой, манипуляции с положением -ldl не помогли. Помогите собрать c-icap.
Код: Выделить всё
[root@proxy c_icap-060708rc2]# make
Making all in .
make[1]: Entering directory `/usr/src/c_icap-060708rc2'
/bin/sh ./libtool --tag=CC --mode=link gcc -Iinclude/ -DCONFDIR=\"/usr/local/c-icap/etc\" -DMODSDIR=\"/usr/local/c-icap/lib/c_icap/\" -DSERVDIR=\"/usr/local/c-icap/lib/c_icap/\" -DLOGDIR=\"/usr/local/c-icap/var/log/\" -D_REENTRANT -g -O2 -rdynamic -rpath /usr/local/c-icap/lib -o c-icap c_icap-aserver.o c_icap-request.o c_icap-cfg_param.o c_icap-proc_threads_queues.o c_icap-http_auth.o c_icap-access.o c_icap-log.o c_icap-service.o c_icap-module.o c_icap-commands.o c_icap-mpmt_server.o c_icap-dlib.o -lpthread libicapapi.la -ldl
libtool: link: gcc -Iinclude/ -DCONFDIR=\"/usr/local/c-icap/etc\" -DMODSDIR=\"/usr/local/c-icap/lib/c_icap/\" -DSERVDIR=\"/usr/local/c-icap/lib/c_icap/\" -DLOGDIR=\"/usr/local/c-icap/var/log/\" -D_REENTRANT -g -O2 -rdynamic -o .libs/c-icap c_icap-aserver.o c_icap-request.o c_icap-cfg_param.o c_icap-proc_threads_queues.o c_icap-http_auth.o c_icap-access.o c_icap-log.o c_icap-service.o c_icap-module.o c_icap-commands.o c_icap-mpmt_server.o c_icap-dlib.o -lpthread ./.libs/libicapapi.so -lz -ldl -Wl,-rpath -Wl,/usr/local/c-icap/lib
./.libs/libicapapi.so: undefined reference to `dlsym'
./.libs/libicapapi.so: undefined reference to `dlerror'
./.libs/libicapapi.so: undefined reference to `dlopen'
./.libs/libicapapi.so: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [c-icap] Error 1
make[1]: Leaving directory `/usr/src/c_icap-060708rc2'
make: *** [all-recursive] Error 1
Заранее спасибо.