Hi steffen,
 i am facing almost the same problems as u r, except for the fact that i am
using HP UX 10.20

by the looks of it it seems that u were trying to build apache with static
inclusion of mod ssl
... but i dont understand as to why u r using -fPIC option when configuring
openssl especially bcoz u r not building mod ssl as a DSO.
try once again, but without the -fPIC  option

when i tried to build mod ssl statically(like u r self) instead of getting the
ld error what i got was
' Could not load yacc'
i then installed byacc and changed the name to yacc
now when i tried to make modssl once again , i get a termination error
the make process stopped at 
yacc -d ssl_expr_parse.y'

when i manually tried to run this command as
#yacc -d ssl_expr_parse.y
i got the error
  Bus error(core dump)

i dont understand what the problem is

i get ld error only when i try to build mod ssl as a DSO or when using EAPI
and building with apxs

any help on this matter would be highy appreciated

thanks in advance
[EMAIL PROTECTED]

P.S: u r email id ends in .hp.com......   maybe u could ask some of u r HP
guys and get this issued sorted out :)

>>>
Steffen Staehle   wrote:

Has anybody succeeded in building apache with module mod_ssl on HPUX11? 
 
When I tried to integrate the module 'mod_ssl' I encountered the following
problem (multiple occurences of similar messages, this is just an example):
 
  ld: Data Linkage Table (+z) overflow in file ssl_util.lo 
- use +Z option to recompile
Reference from:  ssl_util.lo(0x58)
 
The command that fails during the build (make) is
 
ld -L/opt/apache/openssl/0.9.5a/lib -b -o libssl.so mod_ssl.lo
ssl_engine_config.lo ssl_engine_compat.lo ssl_engine_ds.lo
ssl_engine_dh.lo ssl_engine_init.lo ssl_engine_kernel.lo
ssl_engine_rand.lo ssl_engine_io.lo ssl_engine_log.lo
ssl_engine_mutex.lo ssl_engine_pphrase.lo ssl_engine_scache.lo
ssl_engine_vars.lo ssl_engine_ext.lo ssl_expr.lo ssl_expr_scan.lo
ssl_expr_parse.lo ssl_expr_eval.lo ssl_util.lo ssl_util_ssl.lo
ssl_util_sdbm.lo ssl_util_table.lo -ldbm -lssl -lcrypto
-L/opt/gnu/gcc/2.95.2/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.95.2 -lgcc 
 
Somehow ld (/usr/bin/ld) can't cope with the openssl shared libs. 
 
This is what I did:
 
Download and unpack Apache 1.3.12 sources.
Download and unpack openssl 0.9.5a sources.
Download and unpack mod_ssl 2_6_4-1_3_12 sources.
 
Configure and build the openssl stuff:
  ./config --prefix=/opt/apache/openssl/0.9.5a \
  --openssldir=/opt/apache/openssl/0.9.5a \
  -fPIC
  make
  make test
  make install
Which works fine.
 
Configure and integrate the mod_ssl stuff with Apache:
  configure \
  --with-apache=/opt/apache/1.3.12/src/apache_1.3.12 \
  --with-ssl=/opt/apache/openssl/0.9.5a \
  --prefix=/opt/apache/1.3.12/port80 \
  --enable-shared=max \
  --enable-module=rewrite \
  --enable-shared=rewrite \
  --enable-module=proxy \
  --enable-shared=proxy \
  --enable-module=headers \
  --enable-shared=headers \
  --enable-module=log_referer \
  --enable-shared=log_referer \
  --enable-module=log_agent \
  --enable-shared=log_agent 
  cd /opt/apache/1.3.12/src/apache_1.3.12
  make
  [make certificate]
  [make install]
 
Where make fails with the error shown above...
 
I'm using gcc 2.95.2, gnu as 2.9.1, gnu make and HP's ld from 
/usr/bin/ld.
 
I thought about using gnu's ld, too, but unfortunately that's not supported on
HP UX 11 and does not build there so I stick with the HP one.
 
By the way, apache on its own can be built without problems and seems to work
well.
 
Does anybody know what's wrong with HP's ld?
Or how I could get around this?
 
Steffen Staehle






____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to