From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 15 10:30:31 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2749C16A4CE for ; Wed, 15 Dec 2004 10:30:31 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CC0E43D48 for ; Wed, 15 Dec 2004 10:30:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBFAUU5l092463 for ; Wed, 15 Dec 2004 10:30:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBFAUUZ6092462; Wed, 15 Dec 2004 10:30:30 GMT (envelope-from gnats) Date: Wed, 15 Dec 2004 10:30:30 GMT Message-Id: <200412151030.iBFAUUZ6092462@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Gleb Smirnoff Subject: Re: misc/75048: nsswitch problem : nss_dns.so.1 called in default nsswitch.conf but not present on system X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gleb Smirnoff List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 10:30:31 -0000 The following reply was made to PR misc/75048; it has been noted by GNATS. From: Gleb Smirnoff To: Rachel Willmer Cc: freebsd-gnats-submit@freebsd.org Subject: Re: misc/75048: nsswitch problem : nss_dns.so.1 called in default nsswitch.conf but not present on system Date: Wed, 15 Dec 2004 13:24:02 +0300 On Tue, Dec 14, 2004 at 10:08:02AM +0000, Rachel Willmer wrote: R> >Description: R> I am attempting to set up mod_backhand to work with Apache 1. Using the byHostname.c provided with the port, it compiles fine. When I run httpd with the byHostname command in httpd.conf, it crashes with the message : R> R> Syntax error on line 116 of /home/apache/conf/httpd.conf: R> Shared object "nss_dns.so.1" not found, required by "httpd" R> R> nss_dns.so.1 does not exist anywhere on the system. R> R> The nsswitch.conf is the default that is created at boot-time if one did not already exist. R> R> Where do I get a copy of this file? What's the implication of just commenting all the lines in nsswitch.conf out? This is problem with mod_backhand, not with FreeBSD. You should fix it and submit a patch to maintainer of port. Here are examples of patches, that fix this problem in other ports: ports/sysutils/gkrellm/files/patch-src::plugins.c ports/net/samba3/files/patch-lib_module.c -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE