Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 48046 invoked by uid 500); 8 Mar 2003 21:02:53 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 48031 invoked from network); 8 Mar 2003 21:02:53 -0000 Received: from blv-smtpout-01.boeing.com (130.76.32.69) by daedalus.apache.org with SMTP; 8 Mar 2003 21:02:53 -0000 Received: from stl-av-02.boeing.com ([192.76.190.7]) by blv-smtpout-01.boeing.com (8.9.2/8.8.5-M2) with ESMTP id NAA22466 for ; Sat, 8 Mar 2003 13:02:58 -0800 (PST) Received: from blv-hub-01.boeing.com (localhost [127.0.0.1]) by stl-av-02.boeing.com (8.9.3/8.9.2/MBS-AV-02) with ESMTP id PAA10854 for ; Sat, 8 Mar 2003 15:02:27 -0600 (CST) Received: from cruciate.ca.boeing.com (cruciate.ca.boeing.com [130.42.76.133]) by blv-hub-01.boeing.com (8.11.3/8.11.3/MBS-LDAP-01) with ESMTP id h28L2Qv12161 for ; Sat, 8 Mar 2003 13:02:26 -0800 (PST) Received: from localhost (dodge@localhost) by cruciate.ca.boeing.com (8.9.3+Sun/8.9.3) with ESMTP id NAA08908 for ; Sat, 8 Mar 2003 13:02:25 -0800 (PST) Date: Sat, 8 Mar 2003 13:02:25 -0800 (PST) From: "John P. Dodge" X-X-Sender: dodge@cruciate To: users@httpd.apache.org In-Reply-To: <3ae323963c.3963c3ae32@enterworks.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] How to dynamically link expat library on HP-UX11.0 Try chatr +s enable httpd and then set SHLIB_PATH. On Thu, 6 Mar 2003, Debbie Sammons wrote: > I appreciate your help; after moving my executables to another HP box, I > get the following error: > > $ ./apachectl start > /usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libexpat.sl.0 > /usr/lib/dld.sl: No such file or directory > ./apachectl[67]: 26726 Abort(coredump) > > > this is the chatr output for httpd: > > $ chatr httpd > httpd: > shared executable > shared library dynamic path search: > SHLIB_PATH disabled second > embedded path enabled first /usr/local/lib > shared library list: > static /usr/local/lib/libexpat.sl.0 > dynamic /usr/lib/libm.2 > dynamic /usr/lib/libnsl.1 > dynamic /usr/lib/libpthread.1 > dynamic /usr/lib/libdld.2 > dynamic /usr/lib/libc.2 > shared library binding: > deferred > global hash table disabled > plabel caching disabled > global hash array size:1103 > global hash array nbuckets:3 > shared vtable support disabled > static branch prediction disabled > executable from stack: D (default) > kernel assisted branch prediction enabled > lazy swap allocation disabled > text segment locking disabled > data segment locking disabled > third quadrant private data space disabled > fourth quadrant private data space disabled > data page size: D (default) > instruction page size: D (default) > > > Debbie Sammons > Enterworks > 703-723-2143 > > ----- Original Message ----- > From: Lee Fellows > Date: Thursday, March 6, 2003 2:30 pm > Subject: Re: [users@httpd] How to dynamically link expat library on HP- > UX11.0 > > > On Thu, 2003-03-06 at 12:43, Debbie Sammons wrote: > > > It's a problem because the expat library is not always installed in > > > /usr/local/lib (as it's not on several of my HPs), and I want to > > include it > > > myself (specified in SHLIB_PATH). > > > > Uh ... Huh? Statically linked libraries are independent of the > > location of developer libraries (libxxx.a) or shared-object > > libraries (libxxx.so). One purpose for statically linking an > > executable is so that it can be used on another system that does not > > have the library on it. > > > > I thought there was a misunderstanding. I am not suggesting that > > you do not have good reasons for wishing to use a dynamically loaded > > expat library, only that the reasons you offer are not valid. > > > > Checking the configure script, I do not see a mechanism that would > > allow you to customize how expat is linked, but I certainly may have > > missed it. > > > > > > -- > > Lee Fellows > > > > > > -------------------------------------------------------------------- > > - > > The official User-To-User support forum of the Apache HTTP Server > > Project.See > target=3D"l">http://httpd.apache.org/userslist.html> for more info. > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > " from the digest: users-digest-unsubscribe@httpd.apache.org > > For additional commands, e-mail: users-help@httpd.apache.org > > > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project= =2E > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > ---------------------------------------- "Mon a=E9roglisseur est plein d'anguilles" John P. Dodge Boeing Shared Services --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org