From owner-freebsd-current@freebsd.org Mon Mar 27 16:20:52 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8802BD20DB9 for ; Mon, 27 Mar 2017 16:20:52 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 074C86C6; Mon, 27 Mar 2017 16:20:51 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.intern.walstatt.dynvpn.de ([92.225.14.162]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MVsUW-1cd9A92Pk0-00X6PY; Mon, 27 Mar 2017 18:20:41 +0200 Date: Mon, 27 Mar 2017 18:20:30 +0200 From: "O. Hartmann" To: Dimitry Andric Cc: "O. Hartmann" , Mark Millard , FreeBSD Current Subject: Re: Howto complete(!) install a world? Message-ID: <20170327182030.4bb4d227@thor.intern.walstatt.dynvpn.de> In-Reply-To: <85EA9616-F813-4A17-9E45-7235CC86588D@FreeBSD.org> References: <20170327115309.0271cd7f@freyja.zeit4.iv.bundesimmobilien.de> <20170327151014.558b3059@freyja.zeit4.iv.bundesimmobilien.de> <85EA9616-F813-4A17-9E45-7235CC86588D@FreeBSD.org> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/+waoUG9cV8lqRy7MBLYQt4b"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:N/4LA5MSqwCsw4okrnRwyDgaPCNPUkcPPdfhcgxsvpCMPD3+9GI ObzUN10ZfIFWM2lzIMj8FYiHwqcb3dr/bLxsD/r8wYHRQz2nHuHK2Efa0PVlYAy/AOdXGWK sgC8KBhqK4YWzLHH38xTzK9IgpSRHPiCQ9dPuPPVde+u56qxIvWFXcleDMYrhHPgGSn2AgS X5JPk/4mruRqjJ71ekogA== X-UI-Out-Filterresults: notjunk:1;V01:K0:zrpq+Qy1EzA=:phyGblnZX8mLGEkboB8SyH j9iEFWl9AMGQtoLqkNaKOrUl3pYR7apRHKif5iE1jjh2aNxUalUop2hunziadVr+kQX2mlNr5 NwmhlalcZ9YzdEfDxawwW57kDcXM6ybpSi4ujoLHLpZwaf00hMnIyoobdzIqRq1f9p2tCB9GY kKi1vXfpnuddmWHBJJj5HeUSCLIicNXkQPwU/U8NtLCUZs1muCaEIxBVLKaYQyz7V8xmsrHTT XMUZVpqb2OMW/ZxmSLG56ywxNThmITS7VMgD4OAWvB5ceENgmlvtJ7NHbbrNqSQcLL5jHTyBa YitdwGjiXh0OrEEGziJTY5bHvKpB1vEYZrNPl8trN09n7277SoaY8JmnrFDshV/u/UqkmW/Gz 4tjqdSN41vIPoiqkd+339m7XuJ8nuc11kAUvOeBaFM0UxdF+8HcVo9M+U18nZOpjt3i8aJwuy cmMEg9JqfJdRNFkO80IamcOKpGeRSeecCDlRslxIcki6AhsjUkr9NR0+O+nUnUkaqbfFBvzU1 MGnx0CAvNrJ8wvQfGhpuKc80mIDPzprMsG4p8pMMNaLaX3pBrKfKpt3gu6LcEU2liAuOwbIFB Hf5dfRPtaiSjAptOB8WwFsKy+4fbumh4VCWPJx0TRWeSFWcJtxhqoxNHWCLBfz1bVFpwe7XQj fUgYiUvMsktxzQop/TJDuY7rutMIISuUu3a68KxiLpVolL/SxEpxNpFTNiRPzaGeMCDgwjtzP yoa1q37S3PTPK3clYeVZ0G1EH45z6WkZuuJCAn1ynw6ZHxKJjwBXU7NCwrg= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2017 16:20:52 -0000 --Sig_/+waoUG9cV8lqRy7MBLYQt4b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Mon, 27 Mar 2017 15:20:57 +0200 Dimitry Andric schrieb: > On 27 Mar 2017, at 15:10, O. Hartmann wrote: > >=20 > > On Mon, 27 Mar 2017 03:12:42 -0700 > > Mark Millard wrote: =20 > >> On 2017-Mar-27, at 2:53 AM, O. Hartmann w= rote: =20 > >>> On Mon, 27 Mar 2017 01:54:18 -0700 > >>> Mark Millard wrote: =20 > >>>> O. Hartmann ohartmann at walstatt.org wrote on Mon Mar 27 08:10:39 U= TC 2017 > >>>> of: =20 > >>>>> /usr/bin/ssh: Undefined symbol "msetlocale" =20 > ... > > ldd `which ssh` > > /usr/bin/ssh: > > libprivatessh.so.5 =3D> /lib/libprivatessh.so.5 (0x800853000) > > libgssapi.so.10 =3D> /lib/libgssapi.so.10 (0x800af2000) > > libcrypto.so.8 =3D> /lib/libcrypto.so.8 (0x800e00000) > > libc.so.7 =3D> /lib/libc.so.7 (0x801272000) > > libprivateldns.so.5 =3D> /lib/libprivateldns.so.5 (0x80163a000) > > libcrypt.so.5 =3D> /lib/libcrypt.so.5 (0x801897000) > > libz.so.6 =3D> /lib/libz.so.6 (0x801ab5000) =20 >=20 > That is very weird. Private libs such as libprivatessh.so.5 should be > in /usr/lib, never in /lib. Likely, this is what is tripping you up. After you stated this fact, I also see that I have some weird symbolic link= s in /lib - and I recall some strange thing I did: I used prior to the flash mem drive = as stated above one that has been released on Feb, 3rd! Therefore, I think, the weird= date. All my boxes I have investigated after your comment here do have /lib updated acco= rdingly to the last "make installworld". Except the box that is suffering the problems! I think my little stupid "pax" manouvre in the first place corrupted someth= ing and after I failed, I swapped to a more recent FreeBSD image (23rd March) and fullfil= led - with hidden consequences :-( The question of how to install a FreeBSD completely (means: force a complet= e install of a world except configuration files, I was having the libs in mind) arose from= this problem. Once in my office again, I'll check that and somehow I need a plan how to update/exchange /lib without corrupting the system. Now /rescue with static= ally linked binaries come into play. Maybe a "DESTDIR=3D" driven shadow installation sh= ould suffice. The /lib folder on healthy systems do not show symbolic links ... =20 >=20 >=20 > > objdump -d --prefix-addresses /usr/lib/libprivatessh.so.5 | grep msetlo= cale | > > more 0000000000021690 push %rbp =20 >=20 > Now you are dumping a different libprivatessh.so.5 than /usr/bin/ssh is > actually using. Try checking the copy in /lib: >=20 > nm -D /lib/libprivatessh.so.5 | grep msetlocale >=20 > That said, I would carefully check your make.conf settings related to > installworld. If you override LIBDIR, for instance, I think libraries > might be put in the wrong location. >=20 > -Dimitry >=20 --=20 O. Hartmann Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.= 4 BDSG). --Sig_/+waoUG9cV8lqRy7MBLYQt4b Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWNk7zgAKCRDS528fyFhY lIUEAgCnB+dV/3cNT5CaVVKv+RXr0qczKO5gU3b7xZ21Dkq1bMcHoQ5nM5TT8txP 7nopgMyljTIx/Dsz9eKH3eNwngxAAf9c0SYJx22w2hx79/hLDdi2DqGuVL6E/m1r Tdo6xGtxF8N/s/ZfhsWujSWrTm+zbSVxpXuM7tMn+9V3i6ZnlMGZ =ZM+k -----END PGP SIGNATURE----- --Sig_/+waoUG9cV8lqRy7MBLYQt4b--