Compilation with -lclamav went as follows:
$ gcc -Wall ex1.c -o ex1 -lclamav
ld: library not found for -lclamav
collect2: ld returned 1 exit status
Does clamav need to be installed for the library API to work? If so,
installation was as follows:
$ ./configure --prefix=/Users/oliver/clamav --disable-clamav
$ make
$ make install
After editing the .conf files the installation was tested with:
$ ~/clamav/bin/freshclam
$ ~/clamav/bin/clamscan ~
Everything appeared to be OK.
Apologies again if I am missing something ridiculously simple - I'm a
usability designer, not a programmer.
On 21 Dec 2008, at 11:00, [email protected] wrote:
> I see no -lclamav here.
>
> Best regards,
> --Edwin
>
>
> ------------------------------
>
> _______________________________________________
> clamav-users mailing list
> [email protected]
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>
>
> End of clamav-users Digest, Vol 51, Issue 20
> ********************************************
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml