Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E2439CB1 for ; Wed, 4 Apr 2012 12:59:16 +0000 (UTC) Received: (qmail 50426 invoked by uid 500); 4 Apr 2012 12:59:15 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 50397 invoked by uid 500); 4 Apr 2012 12:59:15 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 50390 invoked by uid 99); 4 Apr 2012 12:59:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 12:59:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.109.42.8] (HELO einhorn.in-berlin.de) (192.109.42.8) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 12:59:07 +0000 X-Envelope-From: stsp@stsp.name Received: from ted.stsp.name (ted.stsp.name [217.197.84.34]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id q34Cwi0N009799 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 4 Apr 2012 14:58:45 +0200 Received: from ted.stsp.name (stsp@localhost [127.0.0.1]) by ted.stsp.name (8.14.5/8.14.3) with ESMTP id q34CwifX003443; Wed, 4 Apr 2012 14:58:44 +0200 (CEST) Received: (from stsp@localhost) by ted.stsp.name (8.14.5/8.14.3/Submit) id q34Cwiid031502; Wed, 4 Apr 2012 14:58:44 +0200 (CEST) Date: Wed, 4 Apr 2012 14:58:44 +0200 From: Stefan Sperling To: Joel Eidsath Cc: users@subversion.apache.org Subject: Re: Error building subversion-1.7.4 mod_dav_svn.so with my own apr and apr-utils Message-ID: <20120404125844.GY25@ted.stsp.name> Mail-Followup-To: Joel Eidsath , users@subversion.apache.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Apr 03, 2012 at 09:17:41AM -0700, Joel Eidsath wrote: > I would love some help on this one. I have included my ldd info, as > well as my configure lines for apr, apr-util, httpd, and subversion. > Let me know if you have a guess about what is going wrong. > > Also, please include me on replies as I am not a member of the list. > > Joel Eidsath > jeidsath@gmail.com > > I am getting the following error when trying to start apache after > building mod_dav_svn.so: > > ~/httpd/bin/apachectl restart -- > > httpd: Syntax error on line 54 of > /ngs/app/istsvnd/httpd-2.2.21/conf/httpd.conf: Cannot load /ngs/ap > p/istsvnd/httpd/modules/mod_dav_svn.so into server: > /ngs/app/istsvnd/subversion-1.7.4/lib/libsvn_sub > r-1.so.0: undefined symbol: apr_atomic_xchgptr > > Everything looks good on mod_dav_svn.so with ldd (notice libaprutil > and libapr lines, also notice the versions): The ldd output does indeed look correct. But it looks as if dlopen() regardless fails to locate the correct APR libraries when trying to load mod_dav_svn.so into the running httpd process. It probably finds another APR in /usr/lib or elsewhere and uses that. Try setting LD_LIBRARY_PATH in httpd's environment like so: LD_LIBRARY_PATH=/ngs/app/istsvnd/apr-1.4.6/lib:/ngs/app/istsvnd/apr-util-1.4.1/lib