Thursday, September 07, 2006

bash: ldconfig: command not found

Somebody ( include me ) meets this error, when run the command
ldconfig

because in this case ldconfig is not in /bin but it's in /sbin
To fix this, you run this
/sbin/ldconfig

3 comments:

Anonymous said...

You should add the directory /sbin to your PATH environment variable if you use the command frequently.

Anonymous said...

yes, that's a good idea

Anonymous said...

Do we need to have special priveleges to edit the path variable?