NetBSD-Users archive

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

Re: [netbsd-5] SHLIBDIR and SHLINKDIR behavior change?



On Mon, Feb 09, 2009 at 09:27:19AM -0500, Brian A. Seklecki wrote:
> 
> 
> > Then do "ktrace -i chroot /home/fsimages/rd_root /bin/gzip" and send the
> > output of the subsequent kdump (not ktruss, please).
> >
> 
> I normally would have dove right into that -- but I wasn't sure how well
> ktrace would work wrapped around chroot(2), but here it is:
> 
> http://people.collaborativefusion.com/~seklecki/ktrace_nbsd5_gzip_elf.out.txt

Heh, so it does find libc the first time.  It is libbz2's dependency on
libc that it doesn't find.  Off the top of my head I'm not sure whether
or not it should try loading libc again, but in any case you have a
workaround:  make libbz2 have /lib in its RPATH.

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgpas8gmKOJHP.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index