From owner-freebsd-current@FreeBSD.ORG Fri Jun 18 00:57:10 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16663106566B for ; Fri, 18 Jun 2010 00:57:10 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from nschwmtas05p.mx.bigpond.com (nschwmtas05p.mx.bigpond.com [61.9.189.149]) by mx1.freebsd.org (Postfix) with ESMTP id A14E58FC15 for ; Fri, 18 Jun 2010 00:57:09 +0000 (UTC) Received: from nschwotgx03p.mx.bigpond.com ([124.188.161.100]) by nschwmtas05p.mx.bigpond.com with ESMTP id <20100618005707.RTYJ12312.nschwmtas05p.mx.bigpond.com@nschwotgx03p.mx.bigpond.com>; Fri, 18 Jun 2010 00:57:07 +0000 Received: from duncan.reilly.home ([124.188.161.100]) by nschwotgx03p.mx.bigpond.com with ESMTP id <20100618005706.OARL2192.nschwotgx03p.mx.bigpond.com@duncan.reilly.home>; Fri, 18 Jun 2010 00:57:06 +0000 Date: Fri, 18 Jun 2010 10:57:06 +1000 From: Andrew Reilly To: Buganini Message-ID: <20100618005706.GA82168@duncan.reilly.home> References: <20100617225039.GA74240@duncan.reilly.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Authentication-Info: Submitted using SMTP AUTH LOGIN at nschwotgx03p.mx.bigpond.com from [124.188.161.100] using ID areilly@bigpond.net.au at Fri, 18 Jun 2010 00:57:06 +0000 X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A090209.4C1AC463.0053,ss=1,fgs=0 X-SIH-MSG-ID: qRs3GdT+TAD0zmQs0WyzOwJxyArnqyN48Z4QX81loRIGTUDCp8DeQ9rVMfpRu8u4xD9EJhqFNGQnaazjTY3Rs9mK Cc: current@freebsd.org Subject: Re: Anyone running GNOME on 9-CURRENT? How do you convince evolution-data-server to build? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 18 Jun 2010 00:57:10 -0000 Hi there, On Fri, Jun 18, 2010 at 06:57:56AM +0800, Buganini wrote: > I'm using it without problem, > do you have any of *_HEIMDAL or *_KERBEROS in make.conf/src.conf? No. The problem, as far as I can tell, is that the search for krb5 in the configure script tests three options, (mit, heimdal and sun) all of which fail. The heimdal test *should* have succeeded, because the linker flags are (correctly) generated by a call to `/usr/bin/krb5-config gssapi --libs` (this is one of the port patches against the up-stream script. The problem is that those flags haven't actually worked for quite a while (on my system, anyway). Vis: configure:16119: cc -o conftest -O2 -pipe -g -DLDAP_DEPRECATED -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/db4 1 -L/usr/local/lib -pthread conftest.c -L/usr/lib -L/usr/lib -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lro ken -lcrypt >&5 /usr/lib/libhx509.so: undefined reference to `MD2_Init' /usr/lib/libhx509.so: undefined reference to `MD2_Final' /usr/lib/libhx509.so: undefined reference to `MD2_Update' configure:16119: $? = 1 Now what I don't understand is why the linker fails to find those symbols, given that they *are* defined in libcrypto, which is also listed on the linker command line there. I suspect that it has something to do with the way that shared libraries are constructed: they seem to contain their own list of dependencies, and somehow /usr/lib/libhx509.so.10 does *not* know that it depends on /lib/libcrypto.so.6 (ldd shows only a dependency on /lib/libc.so.7). I regret that I don't know enough linker fu or make infrastructure fu to know where to suggest a tweak, but I believe that the necessary tweak is to the base system build of libhx509.so, rather than the ports in question. What I *really* don't understand is why this seems to be working for everyone else... (My system was last re-built from csup'd source on Thursday 17 June, by the way, so it's not out of date.) Cheers, -- Andrew