bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash does not find freshly installed binary


From: Chris F.A. Johnson
Subject: Re: bash does not find freshly installed binary
Date: Mon, 12 Apr 2004 18:23:33 -0400 (EDT)

On Tue, 13 Apr 2004, Olaf wrote:

> Configuration Information [Automatically generated, do not change]:
> Machine: i386
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-pc-linux-gnu' -DCONF_VEND
> OR='pc' -DSHELL -DHAVE_CONFIG_H   -I.  -I/home/doko/packages/bash/bash-2.05a
> -I/home/doko/packages/bash/bash-2.05a/include -I/home/dok
> o/packages/bash/bash-2.05a/lib -g -O2
> uname output: Linux wally 2.4.25 #1 Wed Feb 25 21:00:03 CET 2004 i686 unknown
> Machine Type: i386-pc-linux-gnu
>
> Bash Version: 2.05a
> Patch Level: 0
> Release Status: release
>
> Description:
>          1. deinstalled Debians smartsuite, installed my own
>             version from tgz into /usr/local
>          2. started smartctl -a /dev/hda and got:
>             '/usr/sbin/smartctl' not found (or something similar,
>             I do not remember)
>             BTW, the binary is *now* in /usr/local/sbin

     The location of smartctl is hashed; a new shell will find the new
     command, or just "hash smartctl" at the prompt.

> Repeat-By:
>
> Fix:
>          let bash just search $PATH, that is what $PATH is good for


-- 
        Chris F.A. Johnson                      http://cfaj.freeshell.org
        =================================================================
                Everything in moderation -- including moderation




reply via email to

[Prev in Thread] Current Thread [Next in Thread]