If you get a message like: libmilter not found on FreeBSD 4.x you should make the following change to the configure file near line 23810. This particular line is a problem since FreeBSD 4.x doesn't use -lpthread. You have to use:

/* CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread" */

Or a conditional if

/* CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -pthread -lc_r" */

For it to compile.


FreeBSD 5.5 (no longer supported by port maintainers)
  • Upgrade your ports and edit the port Makefile.
  • Delete --enable-gethostbyname_r under CONFIGURE_ARGS=
  • Change PTHREAD_LIBS= -lthr to PTHREAD_LIBS= -pthread
Topic revision: r4 - 2008-11-14 - 12:51:20 - TorokEdwin
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback