Bug #1169
closedFull path to ldconfig in /etc/Makefile
0%
Description
Hi,
The transition to git caused me to find this small patch that has
been lurking on my box for ages. It updates etc/makefile to supply a full
path to ldconfig, without it I find make update doesn't finish.
Files
Updated by matthias almost 16 years ago
Hi,
Just tried to reproduce your issue, but had no luck. Could it be that you mix
up "make upgrade" with "make update"? What happens when you do a make run?
Regards
Matthias
Updated by steve almost 16 years ago
Hi,
I can't reproduce it either now - make upgrade was the target that
I used to have trouble with. It was a persistent problem for some time,
then I patched etc/Makefile to get rid of it and forgot about it until the
git changeover when I reviewed the diffs in my source tree and found it
again.
On Tue, 02 Dec 2008 14:30:02 -0000
Matthias Schmidt <bugs@lists.dragonflybsd.org> wrote:
Updated by sepherosa almost 16 years ago
I usually make upgrade in single user mode immediately after
installworld, so I will have to ". /root/.profile", i.e. setting
proper PATH, before running make upgrade, else ldconfig will always
fail.
Best Regards,
sephe
Updated by steve almost 16 years ago
On Tue, 2 Dec 2008 23:14:49 +0800
"Sepherosa Ziehau" <sepherosa@gmail.com> wrote:
Thank you - that's what I didn't do right this time round, I got
distracted and let the menu go past without selecting single user and then
did the make upgrade in multiuser mode.
Updated by swildner almost 16 years ago
Well even so, 'make upgrade' should work like it is. Never did it as
someone else than root, though. Are you upgrading as non-root?
Sascha
Updated by steve almost 16 years ago
On Tue, 02 Dec 2008 16:31:55 +0100
Sascha Wildner <saw@online.de> wrote:
No only as root - usually in single user mode, occasionally in
multiuser mode, in multiuser mode as root it works without a full path to
ldconfig, booted into single user mode I think it still does not (this box
is a bit too busy right now for me to take it down to single user mode and
check).
Updated by corecode almost 16 years ago
what's the decree? did this get committed? why do we need it at all?
Updated by steve almost 16 years ago
Hi,
It is still the case (at least on my boxes) that if you boot into
single user mode, mount the appropriate filesystems and run
make installworld
make upgrade
the make upgrade fails because ldconfig cannot be found. A
workaround is to:
make installworld
export PATH
make upgrade
On Tue, 20 Jan 2009 20:07:28 +0000
"Simon 'corecode' Schubert \(via DragonFly issue tracker\)"
<bugs@crater.dragonflybsd.org> wrote:
Updated by corecode almost 16 years ago
I just pushed a number of commits which should address this problem. Could you
check whether it is still happening?
Updated by steve almost 16 years ago
On Thu, 05 Feb 2009 16:59:58 +0000
"Simon 'corecode' Schubert \(via DragonFly issue tracker\)"
<bugs@crater.dragonflybsd.org> wrote:
It's no longer happening - you can close this one.