From owner-freebsd-questions@FreeBSD.ORG Tue Sep 11 11:40:37 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EB8016A418 for ; Tue, 11 Sep 2007 11:40:37 +0000 (UTC) (envelope-from kallender@completecomputing.com) Received: from cgp.netins.net (f2phy.netins.net [167.142.229.65]) by mx1.freebsd.org (Postfix) with ESMTP id 3F0A913C442 for ; Tue, 11 Sep 2007 11:40:36 +0000 (UTC) (envelope-from kallender@completecomputing.com) X-netINS-MPP: scanned Received: from [199.120.78.141] (account kylea@netins.net HELO G4.local) by cgpf2.cgp.netins.net (CommuniGate Pro SMTP 5.0.13) with ESMTPA id 1423370348; Tue, 11 Sep 2007 06:40:35 -0500 Message-ID: <46E67EA0.8010305@completecomputing.com> Date: Tue, 11 Sep 2007 06:40:16 -0500 From: Kyle Allender User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Giorgos Keramidas References: <46E4C243.7010605@completecomputing.com> <20070910064901.GA2353@kobe.laptop> <46E53681.3060904@completecomputing.com> <20070910123327.GA9629@kobe.laptop> <46E5EFFD.2010801@completecomputing.com> <20070911110953.GB2167@kobe.laptop> In-Reply-To: <20070911110953.GB2167@kobe.laptop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: subversion 1.4.4_1: svnserve.in missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2007 11:40:37 -0000 Giorgos Keramidas wrote: > On 2007-09-10 20:31, Kyle Allender wrote: > >> I let the build complete during the day while away at work and found >> this when I arrived home: >> >> [Updating the pkgdb in /var/db/pkg ... - 479 packages found (-0 +1) . done] >> ---> Reinstallation of devel/subversion ended at: Mon, 10 Sep 2007 08:53:04 -0500 (consumed 00:12:50) >> ---> ** Upgrade tasks 9: 9 done, 0 ignored, 0 skipped and 0 failed >> ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) >> + lang/perl5.8 (perl-5.8.8) >> + textproc/expat2 (expat-2.0.0_1) >> + converters/libiconv (libiconv-1.9.2_2) >> + devel/gettext (gettext-0.16.1_3) >> + www/neon (neon-0.26.4) >> + databases/gdbm (gdbm-1.8.3_3) >> + databases/db42 (db42-4.2.52_5) >> + devel/apr-svn (apr-gdbm-db42-1.2.8_1) >> + devel/subversion (subversion-1.4.4_1) >> ---> Packages processed: 9 done, 0 ignored, 0 skipped and 0 failed >> ---> Session ended at: Mon, 10 Sep 2007 08:53:20 -0500 (consumed 01:11:48) >> sia# pwd >> /home/kylea/calendarserver >> sia# svn co > http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk CalendarServer >> /libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined symbol "initialize_asn1_error_table_r" >> > > Hmmm, very odd indeed. > > What does ldd(1) show for your subversion binary? > > Which kerberos library does it link with? > > This looks like something to ld-elf.so.1 picking up the wrong Kerberos > library from /usr/lib, while the port-build picked up another Kerberos > installation from /usr/local :-/ > > sia# /usr/bin/ldd /usr/local/bin/svn /usr/local/bin/svn: libsvn_client-1.so.0 => /usr/local/lib/libsvn_client-1.so.0 (0x28093000) libsvn_wc-1.so.0 => /usr/local/lib/libsvn_wc-1.so.0 (0x280b3000) libsvn_ra-1.so.0 => /usr/local/lib/libsvn_ra-1.so.0 (0x280db000) libsvn_diff-1.so.0 => /usr/local/lib/libsvn_diff-1.so.0 (0x280df000) libsvn_ra_local-1.so.0 => /usr/local/lib/libsvn_ra_local-1.so.0 (0x280e7000) libsvn_repos-1.so.0 => /usr/local/lib/libsvn_repos-1.so.0 (0x280ed000) libsvn_fs-1.so.0 => /usr/local/lib/libsvn_fs-1.so.0 (0x28108000) libsvn_fs_fs-1.so.0 => /usr/local/lib/libsvn_fs_fs-1.so.0 (0x2810d000) libsvn_fs_base-1.so.0 => /usr/local/lib/libsvn_fs_base-1.so.0 (0x28124000) libsvn_ra_svn-1.so.0 => /usr/local/lib/libsvn_ra_svn-1.so.0 (0x28144000) libsvn_ra_dav-1.so.0 => /usr/local/lib/libsvn_ra_dav-1.so.0 (0x28153000) libsvn_delta-1.so.0 => /usr/local/lib/libsvn_delta-1.so.0 (0x2816a000) libsvn_subr-1.so.0 => /usr/local/lib/libsvn_subr-1.so.0 (0x28173000) libaprutil-1.so.2 => /usr/local/lib/libaprutil-1.so.2 (0x2819d000) libgdbm.so.3 => /usr/local/lib/libgdbm.so.3 (0x281b2000) libdb-4.2.so.2 => /usr/local/lib/libdb-4.2.so.2 (0x281b8000) libapr-1.so.2 => /usr/local/lib/libapr-1.so.2 (0x28276000) libcrypt.so.3 => /lib/libcrypt.so.3 (0x28296000) libpthread.so.2 => /lib/libpthread.so.2 (0x282ae000) libneon.so.26 => /usr/local/lib/libneon.so.26 (0x282d3000) libssl.so.4 => /usr/lib/libssl.so.4 (0x282ee000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x2831c000) libgssapi_krb5.so => /usr/local/lib/libgssapi_krb5.so (0x2840f000) libkrb5.so => /usr/lib/libkrb5.so (0x28439000) libk5crypto.so => /usr/local/lib/libk5crypto.so (0x2846d000) libcom_err.so => /usr/lib/libcom_err.so (0x28490000) libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x28492000) libintl.so.8 => /usr/local/lib/libintl.so.8 (0x284b0000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x284b9000) libz.so.3 => /lib/libz.so.3 (0x285a6000) libc.so.6 => /lib/libc.so.6 (0x285b7000) libkrb5.so => /usr/local/lib/libkrb5.so (0x2869c000) libcom_err.so => /usr/local/lib/libcom_err.so (0x2871c000) libkrb5support.so => /usr/local/lib/libkrb5support.so (0x28722000) sia# It looks like libk5crypto.so is pointing to /usr/local/lib while libkrb5.so points to /usr/local. There is the kerberos installed with the OS and then the libraries I installed from ports - could that be the problem? sia# pkg_info | grep krb krb5-1.6.2 An authentication system developed at MIT, successor to Ker sia# K