named fails to start on boot on FreeBSD 6.1, complains about libxml2.so.5

Mark Stosberg mark at summersault.com
Tue Apr 21 13:48:37 UTC 2009


> Agreed. Bind 9.5 and higher from ports has "XML statistics" support. That 
> explains the xml and iconv. ldd -a /usr/sbin/named should show you which one 
> wants libm.so.2 which is from the 4.x days.
> If you don't need these statistics, I would suggest turning them off through 
> make config.

This is great feedback. I confirmed the old "compat" dependency is from libxml, and 
it's true we don't use those XML stats. I like the suggestion of using "make config" to
recompile without the stat support, which will remove all the troublesome dependencies for
us. Thanks!

    Mark

ldd -a /usr/sbin/named
/usr/sbin/named:
        libcrypto.so.4 => /lib/libcrypto.so.4 (0x281ff000)
        libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x282f1000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x283ef000)
        libm.so.4 => /lib/libm.so.4 (0x284e3000)
        libc.so.6 => /lib/libc.so.6 (0x284f9000)
/usr/local/lib/libxml2.so.5:
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x283ef000)
        libm.so.2 => /usr/local/lib/compat/libm.so.2 (0x285d1000)

    
    Mark


More information about the freebsd-questions mailing list