Bug #1169

Full path to ldconfig in /etc/Makefile

Added by steve over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

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.

ldconfig.patch Magnifier (941 Bytes) steve, 11/28/2008 03:41 PM

History

#1 Updated by matthias over 5 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

#2 Updated by steve over 5 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 <> wrote:

#3 Updated by sepherosa over 5 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

#4 Updated by steve over 5 years ago

On Tue, 2 Dec 2008 23:14:49 +0800
"Sepherosa Ziehau" <> 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.

#5 Updated by swildner over 5 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

#6 Updated by steve over 5 years ago

On Tue, 02 Dec 2008 16:31:55 +0100
Sascha Wildner <> 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).

#7 Updated by corecode over 5 years ago

what's the decree? did this get committed? why do we need it at all?

#8 Updated by steve over 5 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\)"
<> wrote:

#9 Updated by corecode over 5 years ago

I just pushed a number of commits which should address this problem. Could you
check whether it is still happening?

#10 Updated by steve over 5 years ago

On Thu, 05 Feb 2009 16:59:58 +0000
"Simon 'corecode' Schubert \(via DragonFly issue tracker\)"
<> wrote:

It's no longer happening - you can close this one.

#11 Updated by swildner over 5 years ago

fixed recently by corecode

Also available in: Atom PDF