On 2008-09-16 11:21, S.Madge wrote:
> Hi list,
>
> I am trying to compile clamav 0.94 on an i386 openbsd 4.0 system. The
> make command breaks with the following error message:
> ----------------------
> Making all in clamscan
> /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  ../libclamav/libclamav.la -pthread
> gcc -g -O2 -o .libs/clamscan output.o getopt.o cfgparser.o misc.o
> options.o clamscan.o others.o manager.o -pthread
> -L/root/clamav-0.94/libclamunrar_iface/.libs
> -L/root/clamav-0.94/libclamunrar/.libs -L../libclamav/.libs -lclamav
> -lclamunrar_iface -lclamunrar -L/usr/local/lib -lbz2 -lgmp -lz
> -Wl,-rpath,/usr/local/lib
> ../libclamav/.libs/libclamav.so.5.1: undefined reference to `strcasestr'
> collect2: ld returned 1 exit status
> *** Error code 1
>   

There is a configure check that looks for strcasestr, and uses the
alternate implementation in str.c if not available.
Please post (inline) your clamav-config.h, and look for "checking for
strcasestr" in your config.log.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to