Date: Mon, 27 Mar 2017 03:12:42 -0700 From: Mark Millard <markmi@dsl-only.net> To: "O. Hartmann" <o.hartmann@walstatt.org> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Howto complete(!) install a world? Message-ID: <B87F9688-FE6B-452D-BF14-E140195C1722@dsl-only.net> In-Reply-To: <20170327115309.0271cd7f@freyja.zeit4.iv.bundesimmobilien.de> References: <DF4B90C9-7321-4B6A-BE1F-6435B94896B4@dsl-only.net> <20170327115309.0271cd7f@freyja.zeit4.iv.bundesimmobilien.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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: >=20 >> O. Hartmann ohartmann at walstatt.org wrote on Mon Mar 27 08:10:39 = UTC 2017 >> of: >>=20 >>> /usr/bin/ssh: Undefined symbol "msetlocale" =20 >>=20 >>=20 >> I do not know if this will help or not. . . >> (Notes based on head -r315914 for amd64.) >>=20 >> Looking around: >>=20 >> # grep -R msetlocale /usr/src/*/ | more >> /usr/src/crypto/openssh/ssh.c: msetlocale(); >> /usr/src/crypto/openssh/utf8.h:void msetlocale(void); >> /usr/src/crypto/openssh/sftp.c: msetlocale(); >> /usr/src/crypto/openssh/scp.c: msetlocale(); >> /usr/src/crypto/openssh/utf8.c:msetlocale(void) >>=20 >> It looks like msetlocale is local to openssh itself and is >> tied to utf8 support. >>=20 >> # ldd `which ssh` >> /usr/bin/ssh: >> libprivatessh.so.5 =3D> /usr/lib/libprivatessh.so.5 = (0x800851000) >> libgssapi.so.10 =3D> /usr/lib/libgssapi.so.10 (0x800af2000) >> libcrypto.so.8 =3D> /lib/libcrypto.so.8 (0x800e00000) >> libc.so.7 =3D> /lib/libc.so.7 (0x801269000) >> libprivateldns.so.5 =3D> /usr/lib/libprivateldns.so.5 = (0x801624000) >> libcrypt.so.5 =3D> /lib/libcrypt.so.5 (0x801882000) >>=20 >> # objdump -d --prefix-addresses /usr/lib/libprivatessh.so.5 | more >>=20 >> /usr/lib/libprivatessh.so.5: file format elf64-x86-64-freebsd >> . . . >> 0000000000020e40 <msetlocale> push %rbp >> 0000000000020e41 <msetlocale+0x1> mov %rsp,%rbp >> 0000000000020e44 <msetlocale+0x4> push %rbx >> 0000000000020e45 <msetlocale+0x5> push %rax >> 0000000000020e46 <msetlocale+0x6> lea 0x4c4e2(%rip),%rdi # >> 000000000006d32f <_fini+0x1c67> . . . >>=20 >> So it is /usr/lib/libprivateshh.so.5 that should have >> msetlocale in it. >=20 > I've already deleted that lib manually and "make installworld" did = reinstall > the lib again.=20 >=20 > No effect. >=20 > The problem occurs only on that crashed box :-( Do commands similar to what I showed agree with what I shown? # grep -R msetlocale /usr/src/*/ | more # ldd `which ssh` # objdump -d --prefix-addresses /usr/lib/libprivatessh.so.5 | grep = msetlocale | more (That last presumes that ldd's output points to that file instead of = some alternative.) =3D=3D=3D Mark Millard markmi at dsl-only.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B87F9688-FE6B-452D-BF14-E140195C1722>