From owner-freebsd-current Fri Mar 10 9:21:16 2000 Delivered-To: freebsd-current@freebsd.org Received: from reyim.ne.mediaone.net (reyim.ne.mediaone.net [24.218.251.241]) by hub.freebsd.org (Postfix) with ESMTP id EE42537BD19; Fri, 10 Mar 2000 09:20:08 -0800 (PST) (envelope-from bloom@acm.org) Received: from acm.org (localhost [127.0.0.1]) by reyim.ne.mediaone.net (8.9.3/8.9.3) with ESMTP id MAA18815; Fri, 10 Mar 2000 12:19:38 -0500 (EST) (envelope-from bloom@acm.org) Message-ID: <38C92EAA.896438EF@acm.org> Date: Fri, 10 Mar 2000 12:19:38 -0500 From: Jim Bloom Reply-To: bloom@acm.org X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Kris Kennaway Cc: Bush Doctor , Benjamin Greenwald , freebsd-current@FreeBSD.ORG Subject: Re: buildworld failure in cvs ... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kris Kennaway wrote: > > On Thu, 9 Mar 2000, Bush Doctor wrote: > > > Again my libRSAglue libraries before the above were: > > bantu.cl.msu.edu:dervish> ls -l /usr/lib/libR* > > -r--r--r-- 1 root wheel 810 Feb 28 22:28 /usr/lib/libRSAglue.a > > lrwxr-xr-x 1 root wheel 15 Jan 29 07:29 /usr/lib/libRSAglue.so -> libRSAglue.so.1 > > -r--r--r-- 1 root wheel 5872 Jan 29 07:29 /usr/lib/libRSAglue.so.1 > > -r--r--r-- 1 root wheel 868 Feb 28 22:28 /usr/lib/libRSAglue_p.a > > This was very helpful - I've been able to replicate the problem by install > an old libRSAglue of this vintage. It still doesn't answer why on earth > make world is trying to link with it, but at least now I have something to > look at. Thanks! I looked into this problem a bit as well. I believe it is a build order and dependency problem that shouldn't exist. libkrb is built before libRSAglue and then the shared library is built with -LRSAglue which is only found in /usr/lib. kerberosIV/Makefile.inc has a line "LDADD+= -LRSAglue". This whole issue should not exist simply because libRSAglue is a dummy stub and there is no reson to link anything against it. The quick fix is to remove libRSAglue from the makefiles where it is used. The following makefiles need to have the references to RSAglue removed: usr.sbin/ppp/Makefile usr.sbin/pppd/Makefile secure/libexec/sshd/Makefile kerberosIV/Makefile.inc I don't know how to change ld (compile time?) so that it doesn't look in the standard locations for files during buildworld. That is what is required to guarantee this problem doesn't happen again. Kris, would you like patches or will you edit these yourself? Jim Bloom bloom@acm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message