From owner-freebsd-current@FreeBSD.ORG Thu Feb 12 17:06:53 2015 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CE699F09; Thu, 12 Feb 2015 17:06:53 +0000 (UTC) Received: from dmz-mailsec-scanner-1.mit.edu (dmz-mailsec-scanner-1.mit.edu [18.9.25.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2847CDBD; Thu, 12 Feb 2015 17:06:53 +0000 (UTC) X-AuditID: 1209190c-f79696d000005933-93-54dcdc78d90d Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP id D2.8E.22835.87CDCD45; Thu, 12 Feb 2015 12:01:44 -0500 (EST) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id t1CH1hOc002430; Thu, 12 Feb 2015 12:01:44 -0500 Received: from multics.mit.edu (system-low-sipb.mit.edu [18.187.2.37]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id t1CH1gjZ031289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 12 Feb 2015 12:01:43 -0500 Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id t1CH1fiY014600; Thu, 12 Feb 2015 12:01:41 -0500 (EST) Date: Thu, 12 Feb 2015 12:01:41 -0500 (EST) From: Benjamin Kaduk To: current@freebsd.org Subject: /usr/lib/private and static linking? Message-ID: User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrOIsWRmVeSWpSXmKPExsUixCmqrVtx506IwcJ/uha/f11ktZhw5QeT A5PHjE/zWQIYo7hsUlJzMstSi/TtErgyNn1QLfjMUvH82w6WBsZlLF2MnBwSAiYSr/9sZYew xSQu3FvP1sXIxSEksJhJYuLN++wQzkZGifZf96CcQ0wSjW97mSGcBkaJtwcXMoL0swhoS2zf 288EYrMJqEjMfLORDcQWERCX+L2zB6yGWUBEYsnBp2C2sICuxPKPN5lBbF4BB4m576+ygtii AjoSq/dPYYGIC0qcnPmEBaJXS2L59G0sExj5ZyFJzUKSWsDItIpRNiW3Sjc3MTOnODVZtzg5 MS8vtUjXUC83s0QvNaV0EyM44CR5djC+Oah0iFGAg1GJhzfA+E6IEGtiWXFl7iFGSQ4mJVHe 1JtAIb6k/JTKjMTijPii0pzU4kOMEhzMSiK8UcuAcrwpiZVVqUX5MClpDhYlcd5NP/hChATS E0tSs1NTC1KLYLLqHBwCR55OzpZiycvPS1WS4LW8DTRDsCg1PbUiLTOnBKGSiYMTZA8P0B4b kBre4oLE3OLMdIj8KUZdjgXt+2cyCYENkhLnNQIpEgApyijNg5sDSx+vGMWBPhTm/X4LqIoH mHrgJr0CWsIEtGTijNsgS0oSEVJSDYzin5SyPj2eEbRQP1z62sLNs0RvHtVUv3Ij7fVj9u9/ 0lc1eKcaCDjLLWbY0NDlcY73/WZhqTjOyCaJqjceW6fwhO5Qb2m643oh/sz7M/F7Qpkjk0W2 Nx4pVdTKr+ybMbfnV7VAGqPZ7zk5mxcu+rquiUXypSe/S8pMqQNHPrIrN94Oyw0IkFJiKc5I NNRiLipOBABFCodh+gIAAA== Cc: bapt@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2015 17:06:53 -0000 I have a machine running -current from December (r276480), and trying to link with "cc -static [...] $(krb5-config --libs)" yields a linker error: /usr/lib/libkrb5.a(kcm.o): In function `krb5_kcm_call': /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/kcm/kcm.c:(.text+0x10e): undefined reference to `heim_ipc_init_context' /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/kcm/kcm.c:(.text+0x162): undefined reference to `heim_ipc_call' Should I update my system? Is static linking against libraries which consume libraries in /usr/lib/private no longer supported? Thanks, Ben