Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2009 09:21:55 -0400
From:      Mark Stosberg <mark@summersault.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: named fails to start on boot on FreeBSD 6.1, complains about  libxml2.so.5
Message-ID:  <20090421092155.1044fd29@summersault.com>
In-Reply-To: <200904211435.19238.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
References:  <20090420162045.6e09beb5@summersault.com> <20090421081115.27dc7785@summersault.com> <49EDBA38.7000005@otenet.gr> <200904211435.19238.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090421092155.1044fd29>