httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John P. Dodge" <do...@cruciate.ca.boeing.com>
Subject Re: [users@httpd] How to dynamically link expat library on HP-UX11.0
Date Sat, 08 Mar 2003 21:02:25 GMT
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 <lfellows@4lane.com>
> 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 <lfellows@4lane.com>
> >
> >
> > --------------------------------------------------------------------
> > -
> > The official User-To-User support forum of the Apache HTTP Server
> > Project.See <URL:"
> > target="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.
> See <URL: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
>

----------------------------------------
"Mon aƩroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: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


Mime
View raw message