From owner-freebsd-hackers Fri Mar 31 06:26:47 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA21042 for hackers-outgoing; Fri, 31 Mar 1995 06:26:47 -0800 Received: from linc.cis.upenn.edu (root@LINC.CIS.UPENN.EDU [158.130.12.3]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id GAA21036 for ; Fri, 31 Mar 1995 06:26:45 -0800 Received: from aurora.cis.upenn.edu (AURORA.CIS.UPENN.EDU [158.130.6.3]) by linc.cis.upenn.edu (8.6.10/UPenn 1.4) with SMTP id JAA15660 for ; Fri, 31 Mar 1995 09:26:40 -0500 Posted-Date: Fri, 31 Mar 1995 09:26:38 -0500 (EST) Date: Fri, 31 Mar 1995 09:26:38 -0500 (EST) From: "William A. Arbaugh" To: hackers@FreeBSD.org Subject: ld problems with 0322 SNAP Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@FreeBSD.org Precedence: bulk I've been tracing a problem down with the latest SNAP that happens when using S/Key. keyinit gives the following error and login does as well when S/Key is used: ld.so: Undefined symbol "_MD4Init" called from keyinit:/usr/lib/libskey.so.2.0 at 0x801e220 I have the 02 SNAP still running on another machine and so I compiled keyinit on both and looked at the symbol lists. Under the 02 SNAP md4c.0 and all of the MD4 symbols are linked into the image. Under the latest SNAP none of the MD4 symbols are there. Here's what I think (I'm not a linker guru) is happening. The MD4 library is not shared while all of the others are. For some reason ld is ignoring the fact there isn't a MD4 shared version and not linking in the static symbols. I confirmed this by moving the 02SNAP ld over and recompiling keyinit/login, and both had the MD4 symbols (and worked). bill ----------------------------------------------------------------------- Bill Arbaugh email: waa@aurora.cis.upenn.edu office: Moore 102 phone: (215) 573-3639 FAX: (215) 573-2232 ------------------------------------------------------------------------