Re: poudriere-devel: ldconfig: warning: /lib32: No such file or directory

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Mon, 20 Nov 2023 09:40:06 UTC
On Mon, Nov 20, 2023 at 09:01:20AM +0000, Nuno Teixeira wrote:
> Hello,
> 
> I'm trying to find where ldconfig patch is set.
> 
> `ldconfig -32 -r` shows:
> /var/run/ld-elf32.so.hints:
>         search directories: /usr/lib32
> (...)
> 
> And default values for rc.conf is:
> ldconfig32_paths="/usr/lib32 /usr/lib32/compat"
> 
> I'm I missing something on where /lib32 path could be fixed?

libexec/rtld-elf/rtld_paths.h

> 
> Thanks,
> 
> Konstantin Belousov <kostikbel@gmail.com> escreveu no dia quarta,
> 15/11/2023 à(s) 23:25:
> 
> > On Wed, Nov 15, 2023 at 09:34:38PM +0000, Nuno Teixeira wrote:
> > > Hello all,
> > >
> > > Just updated poudriere jail to 2a4897bd (newer than host 14c2e0a0) and I
> > > spoted:
> > >
> > > poudriere-devel-3.4.99.20231113:
> > > ---
> > > [00:00:00] Starting jail 15amd64-main
> > > [00:00:00] Will build as nobody:nobody (65534:65534)
> > > ldconfig: warning: /lib32: No such file or directory
> > > ---
> > >
> > > No building problems.
> > > Any clues?
> >
> > This is innocent warning because /lib32 is included into ld-elf32.so.1
> > default search path.  Caused by 99132daf6f70cb0cc969c555d3612547fa3cf1db.
> >
> > Best fix is to remove /lib32 from the ld-elf32.so.1 path, but the realistic
> > change is to filter non-existing dirs in ldconfig script.
> >
> 
> 
> -- 
> Nuno Teixeira
> FreeBSD Committer (ports)