Problem compiling apache httpd 2.2.9 on HP-UX
Problem compiling apache httpd 2.2.9 on HP-UX
am 23.09.2008 23:38:20 von Grandhi_Sukarna
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.
I do see that libexpat gets built in
../srclib/apr-util/xml/expat/lib/.libs/libexpat.sl.1. Other than that
there is no libexpat installed on the system. I am using cc compiler and
my configure command is listed below.
../configure --prefix=3D/opt/lgtonmc/apache --disable-authn_file
--disable-authn_default --disable-authz_groupfile --disable-authz_user
--disable-authz_default --disable-auth_basic --disable-include
--disable-filter --disable-ssl --disable-env --disable-setenvif
--disable-status --disable-autoindex --disable-asis
--disable-negotiation --disable-userdir
regards,
Sukarna
====XXXXXXXXXXXXXX
....
....
Making all in mappers
Making all in support
/opt/lgtonmc/httpd-2.2.9/srclib/apr/libtool --silent =
--mode=3Dlink
/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/libex pat.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
Stop.
------------------------------------------------------------ ---------
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
Re: Problem compiling apache httpd 2.2.9 on HP-UX
am 24.09.2008 01:15:51 von aw
You do as you wish of course, but my experience with HPUX is that
whenever I tried to compile a package like Apache from source, I always
gave up in the end (beause of problems like the one you have below), and
ended up installing the HPUX Software Depot version instead.
You are probably going to be caught in an endless loop of missing
dependencies.
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.
>
> I do see that libexpat gets built in
> ./srclib/apr-util/xml/expat/lib/.libs/libexpat.sl.1. Other than that
> there is no libexpat installed on the system. I am using cc compiler and
> my configure command is listed below.
>
> ./configure --prefix=/opt/lgtonmc/apache --disable-authn_file
> --disable-authn_default --disable-authz_groupfile --disable-authz_user
> --disable-authz_default --disable-auth_basic --disable-include
> --disable-filter --disable-ssl --disable-env --disable-setenvif
> --disable-status --disable-autoindex --disable-asis
> --disable-negotiation --disable-userdir
>
> regards,
> Sukarna
>
> ====XXXXXXXXXXXXXX
> ...
> ...
> Making all in mappers
> Making all in support
> /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/libex pat.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
>
> Stop.
>
> ------------------------------------------------------------ ---------
> 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
>
>
------------------------------------------------------------ ---------
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
Re: Problem compiling apache httpd 2.2.9 on HP-UX
am 24.09.2008 01:45:22 von Eric Covener
On Tue, Sep 23, 2008 at 5:38 PM, 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/libex pat.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 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: Problem compiling apache httpd 2.2.9 on HP-UX
am 24.09.2008 01:51:28 von Grandhi_Sukarna
Hi,
If I compile a 32 bit Apache httpd 2.2.9 on HP-UX, I get the error:
unsatisfied symbol apr_generate_random_bytes
Actually, while compiling 64 bit apache httpd 2.2.9 on HP-UX, if I set
env variable LPATH to include
/usr/lib/pa20_64:/opt/lgtonmc/httpd-2.2.9/srclib/apr-util/xm l/expat/lib/
..libs:/opt/lgtonmc/httpd-2.2.9/srclib/apr/.libs =20
I get past the dependency errors and end up with the same unsatisfied
symbol apr_generate_random_bytes error.
I can compile successfully Apache httpd 2.2.8 64 bit HP-UX after setting
LPATH similar to above. That leads me to ask, has anyone compiled httpd
2.2.9 on HP-UX successfully?
regards,
Sukarna=20
-----Original Message-----
From: Eric Covener [mailto:covener@gmail.com]=20
Sent: Tuesday, September 23, 2008 4:45 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Problem compiling apache httpd 2.2.9 on HP-UX
On Tue, Sep 23, 2008 at 5:38 PM, 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=3Dlink
> /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/libex pat.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 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 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: Problem compiling apache httpd 2.2.9 on HP-UX
am 24.09.2008 06:04:44 von wrowe
Grandhi_Sukarna@emc.com wrote:
>
> If I compile a 32 bit Apache httpd 2.2.9 on HP-UX, I get the error:
>
> unsatisfied symbol apr_generate_random_bytes
dozens of sites mirror the users@httpd traffic, why not search the
archives? This was asked and answered 2x this year alone.
------------------------------------------------------------ ---------
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
RE: Problem compiling apache httpd 2.2.9 on HP-UX
am 24.09.2008 20:02:06 von Grandhi_Sukarna
Hi,
I scanned the various sites and even the users@httpd.apache.org archives
but could not find much. There is this one comment about upgrading the
libtool but that did not help. Any links/url to that archived
discusssion will be very helpful.
Thanks.
Sukarna
-----Original Message-----
From: William A. Rowe, Jr. [mailto:wrowe@rowe-clan.net]=20
Sent: Tuesday, September 23, 2008 9:05 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Problem compiling apache httpd 2.2.9 on HP-UX
Grandhi_Sukarna@emc.com wrote:
>=20
> If I compile a 32 bit Apache httpd 2.2.9 on HP-UX, I get the error:
>=20
> unsatisfied symbol apr_generate_random_bytes
dozens of sites mirror the users@httpd traffic, why not search the
archives? This was asked and answered 2x this year alone.
------------------------------------------------------------ ---------
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
------------------------------------------------------------ ---------
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
Re: Problem compiling apache httpd 2.2.9 on HP-UX
am 24.09.2008 20:33:13 von wrowe
Grandhi_Sukarna@emc.com wrote:
> Hi,
>
> I scanned the various sites and even the users@httpd.apache.org archives
> but could not find much. There is this one comment about upgrading the
> libtool but that did not help. Any links/url to that archived
> discusssion will be very helpful.
Search HP site for /dev/random patches to 11.11i.
------------------------------------------------------------ ---------
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
Re: Problem compiling apache httpd 2.2.9 on HP-UX
am 08.10.2009 21:02:25 von thaja
Hi,
I had the same trouble on solaris. I installed the patches for random and
after that the make had no failures.
William A. Rowe, Jr. wrote:
>
> Grandhi_Sukarna@emc.com wrote:
>> Hi,
>>
>> I scanned the various sites and even the users@httpd.apache.org archives
>> but could not find much. There is this one comment about upgrading the
>> libtool but that did not help. Any links/url to that archived
>> discusssion will be very helpful.
>
> Search HP site for /dev/random patches to 11.11i.
>
> ------------------------------------------------------------ ---------
> 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
>
>
>
--
View this message in context: http://www.nabble.com/Problem-compiling-apache-httpd-2.2.9-o n-HP-UX-tp19637631p25804670.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
------------------------------------------------------------ ---------
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