You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Debbie Sammons <de...@enterworks.com> on 2003/03/05 23:07:50 UTC

[users@httpd] How to dynamically link expat library on HP-UX 11.0

I'm able to compile & install Apache 2.0.44, but the resulting 
installation cannot be moved to another machine because the expat 
library is statically linked.  What is the proper way to dynamically 
link the expat library?

I'm using the following to configure the install:

./configure --prefix=/home/axu/apache_2.0.44/installed --enable-
module=all --enable-mods-shared=all --disable-auth-digest --disable-
dav --disable-auth-anon --disable-auth-dbm --disable-cern-meta --
disable-dav-fs --disable-expires --disable-file-cache --disable-
headers --disable-info --disable-mime-magic --disable-proxy
 --disable-proxy-connect --disable-proxy-http --disable-proxy-ftp --
disable-rewrite --disable-speling --disable-status --disable-unique-id -
-disable-usertrack --disable-vhost-alias --disable-ssl --enable-
shared=max --enable-rule=SHARED_CORE 


---------------------------------------------------------------------
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


Re: [users@httpd] How to dynamically link expat library on HP-UX11.0

Posted by Lee Fellows <lf...@4lane.com>.
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 <lf...@4lane.com>


---------------------------------------------------------------------
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


Re: [users@httpd] How to dynamically link expat library on HP-UX11.0

Posted by Debbie Sammons <de...@enterworks.com>.
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).

Lee Fellows wrote:

> On Wed, 2003-03-05 at 17:07, Debbie Sammons wrote:
> > I'm able to compile & install Apache 2.0.44, but the resulting
> > installation cannot be moved to another machine because the expat
> > library is statically linked.
>
>   Why is expat being statically linked a problem?  Sorry this does
>   not answer your question, but my feeling is that you are chasing
>   the wrong problem.
>
> --
> Lee Fellows <lf...@4lane.com>
>
> ---------------------------------------------------------------------
> 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

--

Debbie Sammons
(703) 723-2143



---------------------------------------------------------------------
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


Re: [users@httpd] How to dynamically link expat library on HP-UX 11.0

Posted by Lee Fellows <lf...@4lane.com>.
On Wed, 2003-03-05 at 17:07, Debbie Sammons wrote:
> I'm able to compile & install Apache 2.0.44, but the resulting 
> installation cannot be moved to another machine because the expat 
> library is statically linked.  

  Why is expat being statically linked a problem?  Sorry this does
  not answer your question, but my feeling is that you are chasing
  the wrong problem.

-- 
Lee Fellows <lf...@4lane.com>


---------------------------------------------------------------------
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