Re: Upgrading -RELEASE to -CURRENT

From: Josef 'Jeff' Sipek <jeffpc_at_josefsipek.net>
Date: Mon, 22 Apr 2024 17:17:50 UTC
On Mon, Apr 22, 2024 at 19:11:46 +0200, Dimitry Andric wrote:
> On 22 Apr 2024, at 18:28, Josef 'Jeff' Sipek <jeffpc@josefsipek.net> wrote:
> > 
> > On Fri, Apr 19, 2024 at 22:05:17 -0400, Josef 'Jeff' Sipek wrote:
> > ..
> >>    ld-elf.so.1: /lib/libcxxrt.so.1: version CXXABI_1.3.11 required by /lib/libc++.so.1 not found
> > 
> > So, the problem is /lib/libcxxrt.so.1 is *not* getting updated by 'make
> > installworld' because the newly built library ends up in /usr/lib [1].  Therefore,
> > the broken system has:
> > 
> > /lib/libcxxrt.so.1 from 14.0-RELEASE
> > /usr/lib/libcxxrt.so.1 from -CURRENT
> > 
> > ld-elf.so finds the one in /lib fails to find the required version
> > (CXXABI_1.3.11) and terminates.
> 
> This is very strange, and should not happen.

Agreed :)

> The Makefile for libcxxrt
> specifies SHLIBDIR?=/lib, so have you somehow overridden SHLIBDIR
> somewhere in your environment?

Nope!  This is a fresh 14.0-RELEASE install (updated to -p6 via
freebsd-update), then I log in as root, install git, get the source, and
build.

Jeff.