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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 Nov 2023 20:01:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275031

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

> I do not understand what it has to do with rc.conf.

It was I who did not understand when you mentioned ldconfig32_paths. I see now
that the section of rc.d/ldconfig that handles 32-bit compatibility
re-initializes _LDC="", and that is where the system paths should be set.


> Also, I would write the calculation somewhat differently:
> _LDC=$(/libexec/ld-elf.so.1 -v | sed -n -e '/^Default lib path /s///p' | tr : ' ')
> to only edit the relevant line.

I will incorporate that into revised patches.

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