Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2017 18:20:30 +0200
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        "O. Hartmann" <ohartmann@walstatt.org>, Mark Millard <markmi@dsl-only.net>, FreeBSD Current <freebsd-current@freebsd.org>
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:  <DF4B90C9-7321-4B6A-BE1F-6435B94896B4@dsl-only.net> <20170327115309.0271cd7f@freyja.zeit4.iv.bundesimmobilien.de> <B87F9688-FE6B-452D-BF14-E140195C1722@dsl-only.net> <20170327151014.558b3059@freyja.zeit4.iv.bundesimmobilien.de> <85EA9616-F813-4A17-9E45-7235CC86588D@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <dim@FreeBSD.org> schrieb:

> On 27 Mar 2017, at 15:10, O. Hartmann <ohartmann@walstatt.org> wrote:
> >=20
> > On Mon, 27 Mar 2017 03:12:42 -0700
> > Mark Millard <markmi@dsl-only.net> wrote: =20
> >> On 2017-Mar-27, at 2:53 AM, O. Hartmann <o.hartmann at walstatt.org> w=
rote: =20
> >>> On Mon, 27 Mar 2017 01:54:18 -0700
> >>> Mark Millard <markmi@dsl-only.net> 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 <msetlocale@@Base> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170327182030.4bb4d227>