I realized that you have to change it in ./configure!!
Line 9078 should be:
        CLAMD_LIBS="-lpthread -lsocket -lnsl -lresolv"

Best regards
Wolfgang

> -----Ursprüngliche Nachricht-----
> Von: Tomasz Kojm [mailto:[EMAIL PROTECTED] 
> Gesendet: Montag, 13. Oktober 2003 09:14
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: [Clamav-users] Warning messages
> 
> 
> > LIBS = -L../libclamav -L/usr/lib/libmilter -lmilter 
> -lpthread -lsocket 
> > -lnsl
> > 
> > The correct one
> > 
> > LIBS = -L../libclamav -L/usr/lib/libmilter -lresolv 
> -lmilter -lpthread 
> > -lsocket -lnsl
> > 
> > With the last line it works. Not with the latest snapshot!
> 
> Strange,
> 
> configure.in:
> 
> solaris*)
>     FRESHCLAM_LIBS="-lsocket -lnsl -lresolv"
>     if test "$have_pthreads" = "yes"; then
>         LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lpthread"
>         CLAMD_LIBS="-lpthread -lsocket -lnsl -lresolv"
>         TH_SAFE="-thread-safe"
>         AC_DEFINE(CL_THREAD_SAFE)
>     fi
>     AC_DEFINE(C_SOLARIS)
>     ;;
> 
> and clamav-milter is linked with CLAMD_LIBS:
> 
> Best regards,
> Tomasz Kojm
> -- 
>       oo    .....             [EMAIL PROTECTED]
>      (\/)\.........           http://www.konarski.edu.pl/~zolw
>         \..........._         I nie zapomnij kliknac w brzuszek... 
>           //\   /\\   <- C. Amboinensis    www.pajacyk.pl        
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program. 
> SourceForge.net hosts over 70,000 Open Source Projects. See 
> the people who have HELPED US provide better services: Click 
> here: http://sourceforge.net/supporters.php
> _______________________________________________
> Clamav-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/clamav-users
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to