Hi, David,

On Thu, Jul 28, 2022 at 11:10 PM David Wright <deb...@lionunicorn.co.uk> wrote:
>
> On Thu 28 Jul 2022 at 22:37:39 (-0500), Igor Korot wrote:
> > According to 
> > https://packages.debian.org/cgi-bin/search_contents.pl?word=ldconfig&searchmode=searchfiles&case=insensitive&version=stable&arch=i386,
> >
> > ld config is located inside /sbin and it is installed through the libc-bin.
> >
> > Trying to run ldconfig gives "No such file or directory"
> > Running "apt install libc-bin" says "Its installed and already a latest
> > version"
> > Only running "/sbin/ldconfig" makes it run.
> >
> > Is "/sbin" not in the default PATH variable?
>
> For an ordinary user: no.
>
> For root: yes.

Wrong. ;-)
Boot into an OS and login as a regular user.
Open the Terminal
Become root by running su
Try to run ldconfig -> "Command not found"
Try to run /sbin/ldconfig -> execution successful

Thank you.

>
> Cheers,
> David.
>

Reply via email to