[Bug 275031] rc.d/ldconfig missing hard-coded /lib/casper from rtld-elf STANDARD_LIBRARY_PATH

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 11 Nov 2023 21:30:01 UTC

--- 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=`/libexec/ld-elf.so.1 -v | sed -n -e 's/:/ /' -e 's/^Default lib path

> 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?

You are receiving this mail because:
You are on the CC list for the bug.