compiling bind without xml support

Vincent Poy vincepoy at gmail.com
Wed Jan 20 21:28:19 UTC 2010


Greetings everyone:

How do I configure bind 9.5 and newer without xml support in FreeBSD as what
happens is named fails to start in FreeBSD from /etc/rc.conf as it basically
says:

/libexec/ld-elf.so.1: Shared object "libxml2.so.9" not found, required by
"named"

It runs fine when I do /etc/rc.d/named start

I'm compiling bind as follows:
./configure --prefix=/usr --sysconfdir=/etc/namedb --with-openssl
make
make install

Is there a way to make it run from /etc/rc.conf with the xml support or do I
have to somehow disable the xml statistics support as I looked in README but
it only mentions that 9.5 added a experimental XML statistics server but
doesn't say how to disable it.

named is run as:

/usr/sbin/named -u bind -t /var/named

vince at bigbang [1:26pm][~] >> ldd /usr/sbin/named
/usr/sbin/named:
        libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x28224000)
        libz.so.2 => /lib/libz.so.2 (0x28320000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28330000)
        libm.so.3 => /lib/libm.so.3 (0x2841d000)
        libc.so.6 => /lib/libc.so.6 (0x28433000)

Thanks!

Cheers,
Vince
Vincent Poy, Ph.D. - Astrophysics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20100120/4691e2ea/attachment.html>


More information about the bind-users mailing list