On Sat, May 26, 2007 at 02:24:58PM +0930, Jarrod Sayers wrote: > On 26/05/2007, at 2:07 PM, Randy Bush wrote: > ># /usr/local/libexec/nagios/check_dns -H www.netleader.com.au > >DNS CRITICAL - '/usr/local/bin/nslookup -sil' msg parsing exited > >with no address > ># ktrace -dit+ /usr/local/libexec/nagios/check_dns -H > >www.netleader.com.au > >DNS CRITICAL - '/usr/local/bin/nslookup -sil' msg parsing exited > >with no address > > Try running the following: > wallace> /usr/local/bin/nslookup -sil www.netleader.com.au > wallace> ldd /usr/local/bin/nslookup > wallace> /usr/bin/nslookup -sil www.netleader.com.au > wallace> ldd /usr/bin/nslookup > > The output from pkg_info may help here too... > > >http://rip.psg.com/~randy/ktrace.out > > Looks like nslookup is crashing out with a missing symbol, > __udivdi3. The first command I have above, should confirm this. > I'll have to do some digging to work out where that function lives as > it doesn't ring any bells with me and isn't a part of the base system > from what I could quickly see. > > 61371 nslookup CALL write(0x2,0xbfbfe63c,0x16) > 61371 nslookup GIO fd 2 wrote 22 bytes > "/libexec/ld-elf.so.1: " > 61371 nslookup RET write 22/0x16 > 61371 nslookup CALL write(0x2,0xbfbfe66c,0x35) > 61371 nslookup GIO fd 2 wrote 53 bytes > "/usr/local/bin/nslookup: Undefined symbol "__udivdi3"" > 61371 nslookup RET write 53/0x35 > 61371 nslookup CALL write(0x2,0x28174033,0x1) > 61371 nslookup GIO fd 2 wrote 1 byte > " > " > 61371 nslookup RET write 1 > 61371 nslookup CALL exit(0x1)
This symbol is no longer exposed as a public symbol after the symbol versioning changes. It is interesting that nslookup uses it and this only manifests at runtime. Maybe the OP forgot to recompile his bind port? Kris _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"