From owner-freebsd-questions@FreeBSD.ORG Sat Jan 24 20:38:45 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 9557E106566B for ; Sat, 24 Jan 2009 20:38:45 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id 6148D8FC1A for ; Sat, 24 Jan 2009 20:38:45 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by rv-out-0506.google.com with SMTP id g9so77617rvb.3 for ; Sat, 24 Jan 2009 12:38:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=F/3FKaFXxEcjDLFqIcLvmNJ364L0kptAeQPpqxXBoko=; b=q9fejW+mwhIXggYC2p5JJ3phthRFGMeELyJN4xxDs2B5S7vcxY4aDSac4D5kZPnYKD QzWjNAj26QMhH1wfQOz3eH3gNJpc7/BHtOxyyudlVvjpjDI4cxKX2yHYzppjMohvQP5P wWr9XrzFccuj3MYsNXP+A8yRPQtdYNJ9kH3/s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=c8eIlJkRo0F7plvib6OUn0DtkspqnI9e16QZVoshsCnzvlJsOVpl2k8+qiSZk2PsZy RdrWYzHsbkyzt+t9iTieEPedQRTMZgswOGiSzQlAytdinq/SJS3DCGer9c4w6f7obydV piMU/eqY8/q7y6fWYg5lsYDdURagKBUtUpohE= Received: by 10.141.141.3 with SMTP id t3mr1127928rvn.113.1232829525186; Sat, 24 Jan 2009 12:38:45 -0800 (PST) Received: from ?192.168.4.70? (c-68-35-57-46.hsd1.nm.comcast.net [68.35.57.46]) by mx.google.com with ESMTPS id k41sm10922622rvb.3.2009.01.24.12.38.43 (version=SSLv3 cipher=RC4-MD5); Sat, 24 Jan 2009 12:38:44 -0800 (PST) Message-ID: <497B7C70.2010508@gmail.com> Date: Sat, 24 Jan 2009 13:39:12 -0700 From: Tim Judd User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: "Jack L. Stone" References: <991123400901230656r1dab6e11t4db4aa7eab8d100c@mail.gmail.com> <3.0.1.32.20090123081931.00ed6460@sage-american.com> <991123400901230656r1dab6e11t4db4aa7eab8d100c@mail.gmail.com> <3.0.1.32.20090124070639.00f092c0@sage-american.com> In-Reply-To: <3.0.1.32.20090124070639.00f092c0@sage-american.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cpghost , freebsd-questions@freebsd.org Subject: Re: Registry corrupt? 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: Sat, 24 Jan 2009 20:38:45 -0000 Jack L. Stone wrote: > At 04:33 PM 1.23.2009 +0100, cpghost wrote: >> On Fri, Jan 23, 2009 at 05:56:45PM +0300, Odhiambo Washington wrote: >>> On Fri, Jan 23, 2009 at 5:19 PM, Jack L. Stone > wrote: >>>> During an upgrade from fbsd-6.3 --> fbsd-7.0, something strange happened. >>>> Some of the programs will not run after rehash or even when given the >>>> precise path to the program. System doesn't "see" several but not all >>>> programs. I've upgraded several servers (using source files -- cvsup) >>>> withoug any such problem. It's just this one machine. >> Some programs will not run because of a library version bump. Those >> programs will need to be recompiled, i.e. rebuild all ports. >> >> You can check this by running 'ldd' on the specific program. Let's >> assume that you have zip installed: >> >> $ ldd /usr/local/bin/zip >> /usr/local/bin/zip: >> libbz2.so.3 => /usr/lib/libbz2.so.3 (0x80065c000) >> libc.so.7 => /lib/libc.so.7 (0x80076c000) >> > > Thanks for that tip. Here's output of one of the programs that doesn't run: > ldd /usr/local/bin/fastest_cvsup > ldd: /usr/local/bin/fastest_cvsup: not a dynamic executable > > BUT, it is executable and using the exact path to the program still gives > this error: > /usr/local/bin/fastest_cvsup: not found > > Yes, I did re-install the port too. No dice. > > Again MOST all programs run except for this one and maybe a couple others > that may be causing buildworld to fail. > > Strange! > > Jack > > (^_^) > Happy trails, > Jack L. Stone > > System Admin > Sage-american is the shebang line invalid? head -1 /usr/local/bin/fastest_cvsup and see if the program on that line is truly on your system: ls -lF The error above makes it look like it's the command line that's missing, but the shell will use the command line argument when the interpreter is missing. Good luck!