Am Mon, 27 Mar 2017 15:20:57 +0200 Dimitry Andric <d...@freebsd.org> schrieb:
> On 27 Mar 2017, at 15:10, O. Hartmann <ohartm...@walstatt.org> wrote: > > > > On Mon, 27 Mar 2017 03:12:42 -0700 > > Mark Millard <mar...@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 <mar...@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 => /lib/libprivatessh.so.5 (0x800853000) > > libgssapi.so.10 => /lib/libgssapi.so.10 (0x800af2000) > > libcrypto.so.8 => /lib/libcrypto.so.8 (0x800e00000) > > libc.so.7 => /lib/libc.so.7 (0x801272000) > > libprivateldns.so.5 => /lib/libprivateldns.so.5 (0x80163a000) > > libcrypt.so.5 => /lib/libcrypt.so.5 (0x801897000) > > libz.so.6 => /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. After you stated this fact, I also see that I have some weird symbolic links 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 accordingly 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 something and after I failed, I swapped to a more recent FreeBSD image (23rd March) and fullfilled - with hidden consequences :-( The question of how to install a FreeBSD completely (means: force a complete 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 statically linked binaries come into play. Maybe a "DESTDIR=" driven shadow installation should suffice. The /lib folder on healthy systems do not show symbolic links ... > > > > 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 > -- O. Hartmann Ich widerspreche der Nutzung oder Übermittlung meiner Daten für Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).
Description: OpenPGP digital signature