On Tue, Mar 06 2018, Jiri B <ji...@devio.us> wrote:
> On Tue, Mar 06, 2018 at 01:51:04PM +0100, Jeremie Courreges-Anglas wrote:
>> On Mon, Mar 05 2018, Stuart Henderson <s...@spacehopper.org> wrote:
>> My guess is that ld.so throws away the library cache if it finds that
>> it's stale, and thus can't know where liblzo2/liblz4 are to be found.
>> The easy fix would be to make ld.so search in /usr/local by default, but
>> I'm not sure this would be accepted.  So I just documented the
>> LD_LIBRARY_PATH hack in the README instead.
>
> There's no ld.so.hints as we rm -rf /var/run content:

The problem is about running openvpn from hostname.if, and as shown
below /var/run pruning happens after /etc/netstat.

> # cat -n /etc/rc | egrep "(ldconfig|netstart|/var/run)"
>    439  sh /etc/netstart
>    450                  sh /etc/netstart pfsync0
>    463  (cd /var/run && { rm -rf -- *; install -c -m 664 -g utmp /dev/null 
> utmp; })
>    467  dmesg >/var/run/dmesg.boot
>    483  rm -f /var/run/ypbind.lock
>    564  if [[ -x /sbin/ldconfig ]]; then
>    568          ldconfig $shlib_dirs
>
> Anyway, thanks for ports doc update.
>
> Jiri
>

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Attachment: signature.asc
Description: PGP signature

Reply via email to