Project

General

Profile

Actions

Bug #1169

closed

Full path to ldconfig in /etc/Makefile

Added by steve over 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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

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

Updated by matthias over 15 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
Actions #2

Updated by steve over 15 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:

Actions #3

Updated by sepherosa over 15 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

Actions #4

Updated by steve over 15 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.
Actions #5

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

Actions #6

Updated by steve over 15 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).
Actions #7

Updated by corecode about 15 years ago

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

Actions #8

Updated by steve about 15 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:

Actions #9

Updated by corecode about 15 years ago

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

Actions #10

Updated by steve about 15 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.
Actions #11

Updated by swildner about 15 years ago

fixed recently by corecode

Actions

Also available in: Atom PDF