From owner-freebsd-questions@FreeBSD.ORG Tue Apr 21 13:48:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 737561065670 for ; Tue, 21 Apr 2009 13:48:37 +0000 (UTC) (envelope-from mark@summersault.com) Received: from tanagra.summersault.com (tanagra.summersault.com [12.161.105.149]) by mx1.freebsd.org (Postfix) with SMTP id 0CE108FC08 for ; Tue, 21 Apr 2009 13:48:36 +0000 (UTC) (envelope-from mark@summersault.com) Received: (qmail 30544 invoked from network); 21 Apr 2009 09:21:55 -0400 Received: from simba.summersault.com (HELO localhost) (192.168.97.182) by tanagra.summersault.com with SMTP; 21 Apr 2009 09:21:55 -0400 Date: Tue, 21 Apr 2009 09:21:55 -0400 From: Mark Stosberg To: freebsd-questions@freebsd.org Message-ID: <20090421092155.1044fd29@summersault.com> In-Reply-To: <200904211435.19238.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <20090420162045.6e09beb5@summersault.com> <20090421081115.27dc7785@summersault.com> <49EDBA38.7000005@otenet.gr> <200904211435.19238.mel.flynn+fbsd.questions@mailing.thruhere.net> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: named fails to start on boot on FreeBSD 6.1, complains about libxml2.so.5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2009 13:48:37 -0000 > 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