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 52802] Unable to Build Apache 2.4.1 on Solaris/X86 - Linker Problem
Date Wed, 07 Mar 2012 17:20:11 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52802

--- Comment #6 from Kaspar Brand <asfbugz@velox.ch> 2012-03-07 17:20:11 UTC ---
(In reply to comment #5)
> And here the output from gmake with the 2.2.22:
> http://www.wholewildworld.de/portal/upload/fabi65/gmake_2_2_22

Ok, the difference to 2.2.22 is that in this case, you're compiling/linking a
static version of mod_ssl:

/opt/ae/build-1/libtool --silent --mode=link gcc -g -O2   -static 
-L/opt/ae/lib -R/opt/ae/lib   -o libmod_ssl.la mod_ssl.lo ssl_engine_config.lo
ssl_engine_dh.lo ssl_engine_init.lo ssl_engine_io.lo ssl_engine_kernel.lo
ssl_engine_log.lo ssl_engine_mutex.lo ssl_engine_pphrase.lo ssl_engine_rand.lo
ssl_engine_vars.lo ssl_expr.lo ssl_expr_eval.lo ssl_expr_parse.lo
ssl_expr_scan.lo ssl_scache.lo ssl_scache_dbm.lo ssl_scache_shmcb.lo
ssl_scache_dc.lo ssl_util.lo ssl_util_ssl.lo  -lssl -lcrypto -lsocket -lnsl
-ldl

... which is then statically linked with the httpd binary in the last step.

I think there are two solutions to your problem:

a) also compile shared libraries for OpenSSL (see its "shared" config option),
and leave the configure command for httpd 2.4 unchanged - i.e., you will end up
with a shared mod_ssl version

b) use the static OpenSSL libraries, but add "--enable-mods-static=ssl" to the
httpd 2.4 configure command (will get you httpd with a static version of
mod_ssl)

Can you give these options a try?

(My current guess is that this is the consequence of the changes in r952007.)

-- 
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