Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 82107 invoked from network); 15 Nov 2005 20:09:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Nov 2005 20:09:08 -0000 Received: (qmail 99994 invoked by uid 500); 15 Nov 2005 20:09:07 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 99659 invoked by uid 500); 15 Nov 2005 20:09:06 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 99648 invoked by uid 99); 15 Nov 2005 20:09:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2005 12:09:06 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [128.195.24.168] (HELO scotch.ics.uci.edu) (128.195.24.168) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2005 12:08:56 -0800 Received: from st-augustin.ics.uci.edu (st-augustin.ics.uci.edu [128.195.20.85]) (authenticated bits=0) by scotch.ics.uci.edu (8.12.11/8.12.11) with ESMTP id jAFK8iia003543 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Nov 2005 12:08:44 -0800 (PST) Date: Tue, 15 Nov 2005 12:08:43 -0800 From: Justin Erenkrantz To: Chris Darroch , dev@apr.apache.org Subject: Re: [Fwd: Re: apr-util config, etc.] Message-ID: In-Reply-To: <437A3E66.8020707@pearsoncmg.com> References: <437A3E66.8020707@pearsoncmg.com> X-Mailer: Mulberry/4.0.3 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Checker-Version: SpamAssassin 3.2.0-r232569 (2005-08-13) on scotch.ics.uci.edu X-Virus-Scanned: ClamAV version 0.84, clamav-milter version 0.84e on scotch.ics.uci.edu X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=no version=3.2.0-r232569 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --On November 15, 2005 3:00:38 PM -0500 Chris Darroch wrote: > My ultimate question, for the impatient, is whether adding > -R to APRUTIL_LDFLAGS is an appropriate solution when using > libraries that one expects not to have accompanying .la files. We've had this discussion several times. There's a group of developers who believe we should automatically add the -R flags and an equally vocal developers who believe that the user must hand-edit ldconfig on their platform. At the moment, the folks who advocate not having the -R flag represent our state of affairs. > Now I didn't have a working solution yet, because this was > just a post-buildconf, post-configure hack. But, OTOH, the > libaprutil-1.so was OK, with no undefined dependencies listed > by ldd. Setting LDFLAGS before running configure should work, like so: LDFLAGS="-R/path/to/lib" \ ./configure is an acceptable workaround that should work. It's what I use. HTH. -- justin