From owner-freebsd-questions@FreeBSD.ORG Fri Feb 2 07:51:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96ABB16A401 for ; Fri, 2 Feb 2007 07:51:36 +0000 (UTC) (envelope-from gobbledegeek@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 2AEA513C442 for ; Fri, 2 Feb 2007 07:51:35 +0000 (UTC) (envelope-from gobbledegeek@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so679156uge for ; Thu, 01 Feb 2007 23:51:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jxYXKCD5OC7k7jR7FbOeXReQDFFMAYr/Yj4rKwIkoXv/VuxiYAnhQuIg4j8ss0Sjho6b0bpZdgNDT1J2qVQW9wx9K0OdX28Z3vzW9ZWIbhOm7YzcxRfygaaUtNAJ+lSH4KMfgIINTfkhOavCoC1ndQZVg8MozPMqF0y1Mi9Dj7Q= Received: by 10.78.158.11 with SMTP id g11mr792687hue.1170402694698; Thu, 01 Feb 2007 23:51:34 -0800 (PST) Received: by 10.78.176.1 with HTTP; Thu, 1 Feb 2007 23:51:34 -0800 (PST) Message-ID: <463aea570702012351m771c0cdfh12d60118eab1b01b@mail.gmail.com> Date: Fri, 2 Feb 2007 13:21:34 +0530 From: Gobbledegeek To: freebsd-questions@freebsd.org, Gobbledegeek In-Reply-To: <20070202060553.GA7806@fw.home> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <463aea570702012137m48215342of428b69a18641c71@mail.gmail.com> <20070202055729.GA7303@fw.home> <20070202060553.GA7806@fw.home> Cc: Subject: Re: windows behaviour on installing new packages 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: Fri, 02 Feb 2007 07:51:36 -0000 yes yes yes yes to all... thanks for the tip about the rehash and csh behaviour though. Regards On 2/2/07, Kris Maglione wrote: > On Fri, Feb 02, 2007 at 12:57:29AM -0500, Kris Maglione wrote: > >On Fri, Feb 02, 2007 at 11:07:58AM +0530, Gobbledegeek wrote: > >>I noticed over the past few weeks, that after installing numerous > >>packages (pkg_add -r), I could not execute them (not found). They > >>were standard packages installed in the standard locations like > >>/usr/local/bin or sbin (already in $PATH). Running ldconfig, logging > >>out and logging back in did not help either. *Rebooting* helps > >>however. > > > >The problem is that csh does not recheck your $PATH, but only hashes it > >once. You can get it to rehash by running the aptly named `rehash` > >command, or starting a new shell. ldconfig has nothing to do with > >locating executables. > > Sorry, I missed the part about logging out and back in before. In that > case, this is a strange issue. > > Have you varified that the executables exist and are executable when you > try them? Are you sure that you've typed them correctly? Have you tried > entering the entire paths of the executables? Are any of the executables > scripts with initial shebang (#!) lines, and, if so, do the targets of > the lines exist? > -- Rgrds GobbledeGeek [Everything but Gobbledegook.. !!]