On Thu, Jul 28, 2022 at 11:10:07PM -0500, David Wright 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.

To complement this: if you do "sudo ldconfig" everything should work.
If you log in as root and do ldconfig, everything should work, too.
Note that you shouldn't be able to run ldconfig as non-root (it does
change files only root should be able to change).

So even if you try /sbin/ldconfig as a regular user (is it this what
you are trying to do?), it is going to fail at a latter stage.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to