From dev-return-17362-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Sat Oct 14 22:41:44 2006 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 88015 invoked from network); 14 Oct 2006 22:41:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Oct 2006 22:41:43 -0000 Received: (qmail 74804 invoked by uid 500); 14 Oct 2006 22:41:42 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 74765 invoked by uid 500); 14 Oct 2006 22:41:42 -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 74754 invoked by uid 99); 14 Oct 2006 22:41:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Oct 2006 15:41:42 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [207.155.252.112] (HELO leander.cnchost.com) (207.155.252.112) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Oct 2006 15:41:38 -0700 Received: from [192.168.0.21] (c-24-15-193-17.hsd1.il.comcast.net [24.15.193.17]) (as wrowe@rowe-clan.net) by leander.cnchost.com (ConcentricHost(2.54) Relay) with ESMTP id 71D83376C; Sat, 14 Oct 2006 18:41:17 -0400 (EDT) Message-ID: <4531676C.2070005@rowe-clan.net> Date: Sat, 14 Oct 2006 17:40:44 -0500 From: "William A. Rowe, Jr." User-Agent: Thunderbird 1.5.0.7 (X11/20060913) MIME-Version: 1.0 To: Eric Covener CC: dev@apr.apache.org Subject: Re: apr_dso_load(): DYNAMIC_PATH flag for shl_load()? References: <1404e5910610132202t5528fa8ycffe1607ad56b5d9@mail.gmail.com> <1404e5910610132203h72c1f218sac0bd898e74ea866@mail.gmail.com> In-Reply-To: <1404e5910610132203h72c1f218sac0bd898e74ea866@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Eric Covener wrote: > Would it be appropriate for apr_dso_load to set the DYNAMIC_PATH flag > when using shl_load() on HPUX? > > http://docs.hp.com/en/B2355-90654/ch05s03.html#dynamic-path > > It seems to bring the behavior closer dlopen() , searching SHLIB_PATH > so you can ask for "libfoo.so" and not rely on absolute names or > paths. > > shl_load() appears to be selected by default by autoconf on HPUX, when > --enable-dso=dlfcn is passed in SHLIB_PATH is consulted (by dlopen). IMHO, no. The behavior AIUI is dynamic for applications built +b +s. But if my understanding of the default behavior is wrong, I agree with your suggestion.