The best I can do is to report that several Debian users have come across this kind of problem. For example, someone asked: "Why is it so bad to have /usr/sbin in PATH?" The answer given in the forums was "Because sbin contains programs and scripts only executable by root".
Debian used to support gksu to get root access from a virtual terminal, but that is dropped in Buster.
Anyway, sudo -s is useful to know!
Geoff
33 Ashbury Close, Cambridge CB1 3RW 01223 710582
On 11/11/2020 11:38, Lex Trotman wrote:
On Wed, 11 Nov 2020 at 21:31, Geoff Kaniuk geoff@kaniuk.co.uk wrote:
I do not think I have modified $PATH from system settings:
~$ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Your "whereis" puts ldconfig in /sbin/ but thats not in your PATH, thats the problem. I don't use debian, so I don't know why your PATH is so limited. By default my Mint has:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Cheers Lex
Geoff
33 Ashbury Close, Cambridge CB1 3RW 01223 710582
On 11/11/2020 00:24, Lex Trotman wrote:
Whats your PATH?
On Wed, 11 Nov 2020 at 09:07, Geoff Kaniuk geoff@kaniuk.co.uk wrote:
As far as I know, nothing special. But in Debian Buster:
~$ whereis ldconfig ldconfig: /sbin/ldconfig /usr/share/man/man8/ldconfig.8.gz
The error message I got was:
/home# make install ... /bin/bash: line 3: ldconfig: command not found make[4]: *** [Makefile:1660: fix-ubuntu-libdir] Error 127
There is some more information in the Debian forums: http://forums.debian.net/viewtopic.php?f=17&t=147179
Geoff
33 Ashbury Close, Cambridge CB1 3RW 01223 710582
On 10/11/2020 19:50, Frank Lanitz wrote:
On 09.11.20 14:17, Geoff Kaniuk wrote:
- ~$ sudo make install
On Debian that failed because of path problems locating ldconfig.
This is unexpected for me. Running Debian for >10 years now and never seen that need before. Do you have any special sh-configuration?
.f _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users