Date: Sun, 08 Sep 2013 12:05:42 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: src-committers@freebsd.org Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, powerpc@freebsd.org Subject: Re: svn commit: r255385 - in head/etc: . etc.amd64 Message-ID: <86wqmrfx1l.fsf@nine.des.no> In-Reply-To: <201309080946.r889kNSX050568@svn.freebsd.org> (Dag-Erling SmXXrgrav's message of "Sun, 8 Sep 2013 09:46:23 %2B0000 (UTC)") References: <201309080946.r889kNSX050568@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling SmXXrgrav <des@FreeBSD.org> writes: > Log: > Add a stock libmap32.conf for amd64. The first two lines have no effect > except to document the hardcoded standard library search path for 32-bit > binaries. The third line performs the equivalent substitution for the > private library directory. powerpc64 probably needs this as well, but I know next to nothing about it and have no way of testing it. How to test: % svn co -r255386 svn://svn.freebsd.org/base/head libprivate % cd libprivate % make TARGET=3Dfoo64 buildworld % sudo mkdir /foo64 % sudo make TARGET=3Dfoo64 installworld DESTDIR=3D/foo64 % sudo make TARGET=3Dfoo64 -C etc distribution DESTDIR=3D/foo64 % make TARGET=3Dfoo32 buildworld % sudo mkdir /foo64/32 % sudo make TARGET=3Dfoo32 installworld DESTDIR=3D/foo64/32 % sudo mount -t dev dev /foo64/dev % sudo chroot /foo64 /bin/sh % ldd /32/usr/bin/ssh With libmap32.conf in place, this should show that libssh.so.5 resolves to /usr/lib32/private/libssh.so.5; otherwise, it will show up as not found. (r255386 is the revision that made libssh private, prior to which there was no practical need for this mapping) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86wqmrfx1l.fsf>