Re: git: 6b1c5775d1c2 - main - Move libc++ from /usr/lib to /lib

From: Sergey A. Osokin <osa_at_freebsd.org>
Date: Thu, 30 Dec 2021 10:44:00 UTC
Thanks, Antoine.

On Thu, Dec 30, 2021 at 09:08:47AM +0000, Antoine Brodin wrote:
> On Wed, Dec 29, 2021 at 7:52 PM Ed Maste <emaste@freebsd.org> wrote:
> >
> > The branch main has been updated by emaste:
> > URL: https://cgit.FreeBSD.org/src/commit/?id=6b1c5775d1c29c7c42201254df82aca9f3820bc8
> >
> > commit 6b1c5775d1c29c7c42201254df82aca9f3820bc8
> > Author:     Ed Maste <emaste@FreeBSD.org>
> > AuthorDate: 2021-12-29 19:50:03 +0000
> > Commit:     Ed Maste <emaste@FreeBSD.org>
> > CommitDate: 2021-12-29 19:51:28 +0000
> >
> >     Move libc++ from /usr/lib to /lib

[...]

> Hello,
> 
> Something seems missing:
> 
> # cc
> ld-elf.so.1: Shared object "libc++.so.1" not found, required by "cc"

The ports build system reported about www/nginx-devel build failure with
the same symptoms:

_CXXINTERNAL_acaad9ca=ld-elf.so.1: Shared object "libc++.so.1" not found, required by "c++"                                           
CC_OUTPUT_921dbbb2_58173849=ld-elf.so.1: Shared object "libc++.so.1" not found, required by "cc"                                      
CC_OUTPUT_921dbbb2_9bdba57c=ld-elf.so.1: Shared object "libc++.so.1" not found, required by "cc"
...
===>  Configuring for nginx-devel-1.21.5_1                                                                                            
checking for OS                                                                                                                       
 + FreeBSD 14.0-CURRENT amd64                                                                                                         
checking for C compiler ... not found                                                                                                 
                                                                                                                                      
./configure: error: C compiler cc is not found                                                                                        
                                                                                                                                      
===>  Script "configure" failed unexpectedly.

Full build log is available here,
http://beefy18.nyi.freebsd.org/data/main-amd64-default/pb62f24f32e66_sc3a688ef4d/logs/nginx-devel-1.21.5_1.log

Thank you.

-- 
Sergey Osokin