httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 40579] Dynamic linking of httpd on HP-UX not possible
Date Wed, 02 Jul 2008 08:28:52 GMT

--- Comment #9 from Aaron <>  2008-07-02 01:28:51 PST
Hi, Will Rowe

Could you please provide a example how to relocate individual .sl's with the
chatr tool?

After configure the apache with the flag of '--enable-shared=no', and chatr the 
httpd,httpd's info is :

         shared executable
         shared library dynamic path search:
             SHLIB_PATH     disabled  second
             embedded path  disabled  first  Not Defined
         shared library list:
             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:
         global hash table disabled
         plabel caching disabled
         global hash array size:1103
         global hash array nbuckets:3
         shared vtable support disabled
         explicit unloading enabled
         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
         third quadrant global data space disabled
         data page size: D (default)
         instruction page size: D (default)
         nulptr references enabled
         shared library private mapping disabled
         shared library text merging disabled

There are no 'static ' flag in the httpd's infomation.

BTW,there are some similar problem on the AIX 5 before with the flag.And I
resoved it use the same way.But when I configure the
JK(tomcat-connectors-1.2.23) with apache it can not generate
following is the the commands:
$./configure --with-apxs=/opt/oracle/apache2/bin/apxs
And it's OK on the HP-UX.

So I remove the flag for the pcre and I can generate the when I
run the apache,I get the following error:

"Cannot load /opt/oracle/apache2/modules/ into server: rtld: 0712-001
Symbol apr_pool_create_ex was referenced from module
/opt/oracle/apache2/modules/, but a runtime definition of the symbol
was not found."

It sames that the can not complie with apache in the shared way.Can
you help me to resolve it? Thanks.


(In reply to comment #8)
> Note that solving this the "right" way is a matter of convincing the libtool
> maintainers that +s +b is right way to go.  Today, libtool does all it can
> to ensure an HP/UX binary is not relocatable.
> Also you can relocate individual .sl's with the chatr tool

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message