proftpd-1.3.4a_2 + mod_clamav error install

Hi!

I'm trying to install from ports proftpd-1.3.4a_2 + mod_сlamav but get the error:

Code:
modules/mod_xfer.o(.text+0x1c1c): In function `xfer_stor':
: undefined reference to `clamav_scan'
libtool: link: rm -f ".libs/proftpdS.o"
gmake: *** [proftpd] Error 1
*** Error code 1

Stop in /usr/ports/ftp/proftpd.
*** Error code 1

Stop in /usr/ports/ftp/proftpd.

FreeBSD 8.2-p6 amd64, ports are updated.
 
I tried to install proftpd-1.3.4a_2 + mod_сlamav on two servers. One of them was pre-installed сlamav. An error was manifested in both cases. You have got to install proftpd-1.3.4a_2 + mod_сlamav?
 
I'm trying
Code:
 make -D WITH_CLAMAV
but get the error.

If leave only one module mod_сlamav installation also fails.
 
The problem is with ProFTPD itself. It fails the build if mod_clamav is built with the --with-shared option. This option is set in the port's Makefile.
 
SirDice said:
The problem is with ProFTPD itself. It fails the build if mod_clamav is built with the --with-shared option. This option is set in the port's Makefile.

How to fix it?
 
Back
Top