From owner-freebsd-current Tue Sep 21 7:41:18 1999 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 715DE15520 for ; Tue, 21 Sep 1999 07:41:14 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 8F37E1CC4; Tue, 21 Sep 1999 22:41:13 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Mark Murray Cc: Pierre Beyssac , freebsd-current@FreeBSD.ORG Subject: Re: DANGER: login and friends with libscrypt/libdescrypt In-reply-to: Your message of "Tue, 21 Sep 1999 08:29:26 +0200." <199909210629.IAA70984@gratis.grondar.za> Date: Tue, 21 Sep 1999 22:41:13 +0800 From: Peter Wemm Message-Id: <19990921144113.8F37E1CC4@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Murray wrote: > > - /usr/bin/login and friends are now linked against libscrypt > > instead of libcrypt. > > This is a link bug. The Makefile says "-lcrypt". JDP? Umm... Previously there was: .if ${OBJFORMAT} == elf SONAME= ${LCRYPTBASE}.so.${SHLIB_MAJOR} .endif This appears to have been lost. # objdump --all-headers /usr/lib/libscrypt.so.2 ... Dynamic Section: SONAME libcrypt.so.2 ^^^^^^^^^^^^^ INIT 0x354 Since somebody has deleted the SONAME override, the various libXcrypt files have their own soname and the symlink redirection doesn't work as the program gets compiled specifically to use the SONAME of the link-time targets. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message