Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2017 11:53:09 +0200
From:      "O. Hartmann" <o.hartmann@walstatt.org>
To:        Mark Millard <markmi@dsl-only.net>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Howto complete(!) install a world?
Message-ID:  <20170327115309.0271cd7f@freyja.zeit4.iv.bundesimmobilien.de>
In-Reply-To: <DF4B90C9-7321-4B6A-BE1F-6435B94896B4@dsl-only.net>
References:  <DF4B90C9-7321-4B6A-BE1F-6435B94896B4@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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"  
> 
> 
> I do not know if this will help or not. . .
> (Notes based on head -r315914 for amd64.)
> 
> Looking around:
> 
> # 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)
> 
> It looks like msetlocale is local to openssh itself and is
> tied to utf8 support.
> 
> # ldd `which ssh`
> /usr/bin/ssh:
>         libprivatessh.so.5 => /usr/lib/libprivatessh.so.5 (0x800851000)
>         libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x800af2000)
>         libcrypto.so.8 => /lib/libcrypto.so.8 (0x800e00000)
>         libc.so.7 => /lib/libc.so.7 (0x801269000)
>         libprivateldns.so.5 => /usr/lib/libprivateldns.so.5 (0x801624000)
>         libcrypt.so.5 => /lib/libcrypt.so.5 (0x801882000)
> 
> # objdump -d --prefix-addresses /usr/lib/libprivatessh.so.5 | more
> 
> /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> . . .
> 
> So it is /usr/lib/libprivateshh.so.5 that should have
> msetlocale in it.

I've already deleted that lib manually and "make installworld" did reinstall
the lib again. 

No effect.

The problem occurs only on that crashed box :-(

> 
> 
> ===
> Mark Millard
> markmi at dsl-only.net
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"




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