pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/30604: clamav-0.86.1 build problems



>Number:         30604
>Category:       pkg
>Synopsis:       clamav-0.86.1 build problems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 26 01:04:00 +0000 2005
>Originator:     carl%mail.cashmoredesign.com@localhost
>Release:        NetBSD 2.0.2
>Organization:
        
>Environment:
        
        
System: NetBSD mail.cashmoredesign.com 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Wed Mar 
23 08:53:42 UTC 2005 
jmc%faith.netbsd.org@localhost:/home/builds/ab/netbsd-2-0-2-RELEASE/i386/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
Architecture: i386
Machine: i386
>Description:
        attempting to build clamav with milter fails due to 
        attempting to link to wrong libmilter

        cc -O2 -I/usr/pkgsrc/mail/clamav/work/.buildlink/include 
-Wl,-R/usr/pkg/lib -o .libs/clamav-milter cfgparser.o getopt.o memory.o misc.o 
clamav-milter.o  -L/usr/pkgsrc/mail/clamav/work/.buildlink/lib 
../libclamav/.libs/libclamav.so -lbz2 
/usr/pkgsrc/mail/clamav/work/.buildlink/lib/libgmp.so 
/usr/pkgsrc/mail/clamav/work/.buildlink/lib/libcurl.so 
/usr/pkgsrc/mail/clamav/work/.buildlink/lib/libidn.so -lssl -lcrypto -lz 
-lmilter -lpthread -lwrap -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath 
-Wl,/usr/pkgsrc/mail/clamav/work/.buildlink/lib
        clamav-milter.o(.text+0xb90): In function `main':
        : undefined reference to `smfi_opensocket'
        *** Error code 1

        Stop.
        make: stopped in 
/usr/pkgsrc/mail/clamav/work/clamav-0.86.1/clamav-milter
        *** Error code 1

>How-To-Repeat:
        build clamav with milter enabled from current CVS
>Fix:
        I did this ugly hack which got it to work, but this
        is not right!

83  mv /usr/lib/libmilter.a /usr/lib/_libmilter.a
84  mv /usr/include/libmilter /usr/include/_libmilter

This doesn't seem to be a problem on NBSD 1.6.2, just 2.0.x




>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index