windows behaviour on installing new packages

Kris Maglione bsdaemon at comcast.net
Fri Feb 2 05:57:34 UTC 2007


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.


More information about the freebsd-questions mailing list