Date: Tue, 21 Sep 1999 22:41:13 +0800 From: Peter Wemm <peter@netplex.com.au> To: Mark Murray <mark@grondar.za> Cc: Pierre Beyssac <beyssac@enst.fr>, freebsd-current@FreeBSD.ORG Subject: Re: DANGER: login and friends with libscrypt/libdescrypt Message-ID: <19990921144113.8F37E1CC4@overcee.netplex.com.au> In-Reply-To: Your message of "Tue, 21 Sep 1999 08:29:26 %2B0200." <199909210629.IAA70984@gratis.grondar.za>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990921144113.8F37E1CC4>