NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/57265: Cross-build broken from Linux amd64 to NetBSD amd64



On Thu, 2023-03-09 17:50:02 +0000, Valery Ushakov <uwe%stderr.spb.ru@localhost> wrote:
> On Thu, Mar 09, 2023 at 17:16:15 +0000, Taylor R Campbell wrote:
> 
> > Nothing in the build uses LD_LIBRARY_PATH,[*] and it is unlikely for
> > nbmandoc to have been inadvertently linked against a libc that doesn't
> > exist yet.  But from your build log, I see:
> 
> It's not the nbmandoc, it must be the freshly built libz.so that gets
> pulled in, and then that netbsd libz.so depends on (netbsd)
> libc.so.12, which cannot be found.

That's actually a good point: As NetBSD libz is found, but not NetBSD
libc, it's probably _not_ picking it up from $destdir/lib, but from
$PWD.  Just realized that, as it seems, the freshly libz isn't yet
installed to $destdir, and if $destdir/lib were in LD_LIBRARY_PATH,
that would have been found as well.

MfG, JBG

-- 

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index