httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40579] Dynamic linking of httpd on HP-UX not possible
Date Wed, 02 Jul 2008 08:28:52 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=40579





--- Comment #9 from Aaron <mingzhao.chen@hingesoftware.com>  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 :


httpd:
         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:
             deferred
         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 mod_jk.so.The
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 mod_jk.so.But when I
run the apache,I get the following error:

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

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

Aaron
2008-07-02

(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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message