Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2017 15:20:57 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        "O. Hartmann" <ohartmann@walstatt.org>
Cc:        Mark Millard <markmi@dsl-only.net>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Howto complete(!) install a world?
Message-ID:  <85EA9616-F813-4A17-9E45-7235CC86588D@FreeBSD.org>
In-Reply-To: <20170327151014.558b3059@freyja.zeit4.iv.bundesimmobilien.de>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_261FDF15-DC17-4C96-A042-A60429FEE7A2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

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:
>> On 2017-Mar-27, at 2:53 AM, O. Hartmann <o.hartmann at walstatt.org> =
wrote:
>>> On Mon, 27 Mar 2017 01:54:18 -0700
>>> Mark Millard <markmi@dsl-only.net> wrote:
>>>> O. Hartmann ohartmann at walstatt.org wrote on Mon Mar 27 08:10:39 =
UTC 2017
>>>> of:
>>>>> /usr/bin/ssh: Undefined symbol "msetlocale"
...
> 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)

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.


> objdump -d --prefix-addresses /usr/lib/libprivatessh.so.5 | grep =
msetlocale |
> more 0000000000021690 <msetlocale@@Base> push   %rbp

Now you are dumping a different libprivatessh.so.5 than /usr/bin/ssh is
actually using.  Try checking the copy in /lib:

  nm -D /lib/libprivatessh.so.5 | grep msetlocale

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.

-Dimitry


--Apple-Mail=_261FDF15-DC17-4C96-A042-A60429FEE7A2
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.30

iEYEARECAAYFAljZEcAACgkQsF6jCi4glqNrbgCg4BdbeGv0yJI7+frrNgiT9MbO
GqEAoJgNuvZtik2UWphVrhPDYsf4YCs0
=AKUJ
-----END PGP SIGNATURE-----

--Apple-Mail=_261FDF15-DC17-4C96-A042-A60429FEE7A2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85EA9616-F813-4A17-9E45-7235CC86588D>