Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2023 21:30:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275031] rc.d/ldconfig missing hard-coded /lib/casper from rtld-elf STANDARD_LIBRARY_PATH
Message-ID:  <bug-275031-227-xUIHibKF7m@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275031-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275031-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275031

--- Comment #3 from John W. O'Brien <john@saltant.com> ---
(In reply to Konstantin Belousov from comment #2)

> For main and all living stable branches (stable/14, and
> stable/13) the better approach is to initialize _LDC from
> the 'Default lib path' line in the /libexec/ld-elf.so.1 -v
> output.

Like this?

_LDC=3D`/libexec/ld-elf.so.1 -v | sed -n -e 's/:/ /' -e 's/^Default lib path
//p'`

> Similarly, ldconfig32_paths should take system paths from
> the /libexec/ld-elf32.so.1 -v output.

Should that happen when /etc/defaults/rc.conf is first generated, or every =
time
it is processed?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275031-227-xUIHibKF7m>