compile fails with dnsrbl
2011-09-01 by wjk@wkossen.nl
Hi, I want to use milter-greylist with dnsrbl options. The binary package for my platform doesn't have it enabled, so compile is the way to go. But... gcc -o milter-greylist milter-greylist.o pending.o sync.o dnsrbl.o list.o macro.o conf_yacc.o dump_yacc.o conf.o store.o dump.o spf.o acl.o urlcheck.o stat.o clock.o geoip.o fd_pool.o prop.o ldapcheck.o dkimcheck.o p0f.o spamd.o mx.o ratelimit.o -lpthread -lresolv -lnsl -lmilter dnsrbl.o: In function `dnsrbl_check_source': /root/downloads/milter-greylist-4.3.9/dnsrbl.c:205: undefined reference to `__ns_initparse' /root/downloads/milter-greylist-4.3.9/dnsrbl.c:211: undefined reference to `__ns_parserr' collect2: ld returned 1 exit status make: *** [milter-greylist] Error 1 same effect for the stable branche. I have bind-libbind-devel installed, tried several --with-libbind= paths, just don't get it to work. I'm stumped.. Any ideas? Thanks Willem Kossen