From owner-freebsd-questions@FreeBSD.ORG Tue Apr 21 03:09:51 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 7C8501065670 for ; Tue, 21 Apr 2009 03:09:51 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-qy0-f105.google.com (mail-qy0-f105.google.com [209.85.221.105]) by mx1.freebsd.org (Postfix) with ESMTP id 3151A8FC13 for ; Tue, 21 Apr 2009 03:09:50 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qyk3 with SMTP id 3so1518116qyk.3 for ; Mon, 20 Apr 2009 20:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=UcXv2LhNeuKL6ZRdtTcxQrVxzwADWIXDUVuWY2Q+HMA=; b=lKktUVvIcnOe1gjN0obCemXqg8KPOoK9HRhydApagLB4Pqsijpsn49FbMdFQOnSEC9 THFQmYWatuZlE8sVgYRfUUNa1S+CWV7yn8ReCfqtJ6GB+KDJfnu8VPtbb+rxSozD01B3 jsWMZb0D5iOPuKu7on8o2m3mjY6Uo9fmbFtks= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=hxuP3bO7yaWYIlctqrucdrQHuJ+vSeixb/1FEHdcT568syawcsOllHtqfU0rF1Qb+L 92eV/VLO0ZjmJa8dS9b7XIukFO3Qw38YtBFH74/jsfVGs6zn/gc6gn4ygMMP7FzRHgqr mapT4uJTmFuUr8EZmN8q07VmXXOYVXRnqV4KM= MIME-Version: 1.0 Received: by 10.220.45.208 with SMTP id g16mr7390122vcf.111.1240283390290; Mon, 20 Apr 2009 20:09:50 -0700 (PDT) In-Reply-To: <20090420162045.6e09beb5@summersault.com> References: <20090420162045.6e09beb5@summersault.com> From: Tim Judd Date: Mon, 20 Apr 2009 21:09:35 -0600 Message-ID: To: Mark Stosberg Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org 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 03:09:51 -0000 On Mon, Apr 20, 2009 at 2:20 PM, Mark Stosberg wrote: > > We had problem with "named" starting on boot on a FreeBSD 6.1 server, > managed > by /etc/rc.conf. > > The startup script failed with errors about shared library "libm.so.2" > failing > to load because of something related to libxml2.so.5. > > Later, when I then tried starting it via /etc/rc.d/named it worked fine. > > I include the following "ldd" output in case it's helpful. What could > possibly > be the issue here? > > Mark > > ### > > # ldd /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) > libm.so.2 => /usr/local/lib/compat/libm.so.2 (0x285d1000) > I also see to LOCAL libraries in it. named is part of base, unless you compiled and installed the port version and maybe told it to overwrite the base. None of this adds up. %ldd /usr/sbin/named /usr/sbin/named: libcrypto.so.5 => /lib/libcrypto.so.5 (0x281fe000) libthr.so.3 => /lib/libthr.so.3 (0x28357000) libc.so.7 => /lib/libc.so.7 (0x2836a000) There's a named on 7.1p4 I find yours really confusing.