Re: Problem compiling apache httpd 2.2.9 on HP-UX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 23, 2008 at 5:38 PM,  <Grandhi_Sukarna@xxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux