httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: [users@httpd] Problem compiling apache httpd 2.2.9 on HP-UX
Date Tue, 23 Sep 2008 23:45:22 GMT
On Tue, Sep 23, 2008 at 5:38 PM,  <Grandhi_Sukarna@emc.com> wrote:
> Hi,
>
> I am having problem building apache httpd server 2.2.9 on 64 bit HP-UX
> 11.11. During make, I get the error listed at the end of the mail. Any
> advice would be helpful.
>
>        /opt/lgtonmc/httpd-2.2.9/srclib/apr/libtool --silent --mode=link
> /opt/ansic/bin/cc -Ae +DA2.0W +DD64 +DS2.0 +z +sb +w2 +W 2018 -mt  -Ae
> +DA2.0W +DD64 +DS2.0 +z +sb +w2 +W 2018
> -Wl,+b/usr/lib:/usr/lib/pa20_64:/lib -Wl,+s -o htpasswd  htpasswd.lo
> -lm /opt/lgtonmc/httpd-2.2.9/srclib/pcre/libpcre.la
> /opt/lgtonmc/httpd-2.2.9/srclib/apr-util/libaprutil-1.la
> /opt/lgtonmc/httpd-2.2.9/srclib/apr-util/xml/expat/lib/libexpat.la
> /opt/lgtonmc/httpd-2.2.9/srclib/apr/libapr-1.la -lrt -lm -lpthread
> libtool: link: warning: this platform does not like uninstalled shared
> libraries
> libtool: link: `htpasswd' will be relinked during installation
> ld: Can't find dependent library "libexpat.sl.1"
> Fatal error.
> *** Error exit code 1

I've seen similar issues on HPUX around the way apr-util bundles expat.

Some can be helped my manually doing make && make install in
srclib/apr-util/expat before apr-util is built, so if libtool gets too
confused there will at least be an installed copy of expat it might
see.

I've also had to do this kind of thing to help trick libtool into
thinking things are okay when expat will be installed in the Apache
lib directory at runtime:  perl -pi.bak -e 's#[^
]+libexpat.la#-L$curdir/srclib/apr-util/xml/expat/lib/.libs/ -lexpat#;
 s#[^ ]+libapr-1.la##;"

(the libapr part is probably for an issue not directly related the
expat issue, IIRC it's a similar "make install" failure with DESTDIR.

--
Eric Covener
covener@gmail.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


Mime
View raw message