Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90]) by krbdev.mit.edu (8.9.3p2) with ESMTP id RAA27684; Sat, 3 Jun 2006 17:50:56 -0400 (EDT) Received: from pch.mit.edu (pch.mit.edu [127.0.0.1]) by pch.mit.edu (8.13.6/8.12.8) with ESMTP id k53LoJlb018659 for ; Sat, 3 Jun 2006 17:50:19 -0400 Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU [18.7.7.80]) by pch.mit.edu (8.13.6/8.12.8) with ESMTP id k53LoIkQ018656 for ; Sat, 3 Jun 2006 17:50:18 -0400 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id k53LoOR3006195 for ; Sat, 3 Jun 2006 17:50:24 -0400 (EDT) Received: from contents-vnder-pressvre.mit.edu (CONTENTS-VNDER-PRESSVRE.MIT.EDU [18.7.16.67]) (authenticated bits=56) (User authenticated as epeisach@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id k53LoMIa002789 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 3 Jun 2006 17:50:23 -0400 (EDT) Received: (from epeisach@localhost) by contents-vnder-pressvre.mit.edu (8.12.9.20060308) id k53LoMOJ022270; Sat, 3 Jun 2006 17:50:22 -0400 (EDT) Date: Sat, 3 Jun 2006 17:50:22 -0400 (EDT) Message-Id: <200606032150.k53LoMOJ022270@contents-vnder-pressvre.mit.edu> From: Ezra Peisach To: krb5-bugs@MIT.EDU Subject: 1.5 alpha: cannot compile static only... X-Spam-Score: -2.599 X-Spam-Flag: NO X-Scanned-BY: MIMEDefang 2.42 X-Beenthere: krb5-bugs-incoming@mailman.mit.edu X-Mailman-Version: 2.1.6 Precedence: list Sender: krb5-bugs-incoming-bounces@PCH.mit.edu Errors-To: krb5-bugs-incoming-bounces@PCH.mit.edu X-RT-Original-Encoding: iso-8859-1 Content-Length: 680 Now that libkrb5 depends on the plugin interface, one cannot configure --disable-shared --enable-static and get it to compile - there is a link dependency on libdl (dlopen, etc). Why would I want this... On occasion, I have wanted to copy a staticly linked executable to another machine - for which I then only need a krb5.conf. We are "winning" because when linking shared libraries - we "win" - as the support library will drag in libdl. Probably KRB5_BASE_LIBS should be modified to include DL_LIB. Currently, the build tree Makefile.in only specifies DL_LIB when KDB5_LIBS are used - so for the kdc kadmind, etc. Also - krb5-config should be modified as well... Ezra