DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44384>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44384





------- Additional Comments From [EMAIL PROTECTED]  2008-02-11 04:49 -------

(In reply to comment #1)
> How does it fail, and what version of libtool is being used?

in reverse order:

I use the builtin libtool, as you can see in the compilation line for mod_ssl

/usr/local/src/apache.org/httpd-2.2.8/srclib/apr/libtool --silent --mode=link 
gcc   -arch x86_64    -arch x86_64    -o 
mod_ssl.la -rpath /usr/local/apache2/modules -module -avoid-version  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 -export-symbols-regex ssl_module

and at installation time:

Making install in ssl
/usr/local/src/apache.org/httpd-2.2.8/srclib/apr/libtool --silent 
--mode=install cp mod_ssl.la /usr/local/apache2/modules/
ranlib: file: /usr/local/apache2/modules/mod_ssl.a(ssl_scache_dc.o) has no 
symbols

and this is the failure:

 /usr/local/apache2/bin/apachectl configtest
httpd: Syntax error on line 85 of /usr/local/apache2/conf/httpd.conf: Cannot 
load /usr/local/apache2/modules/mod_ssl.so into 
server: dlopen(/usr/local/apache2/modules/mod_ssl.so, 10): Symbol not found: 
_ssl_cmd_SSLCACertificateFile\n  Referenced from: 
/usr/local/apache2/modules/mod_ssl.so\n  Expected in: flat namespace\n

This is apparently a common problem with Leopard, and some suggest dropping the 
-export-symbols-regex option altogether, 
while I simply solved it by making it export the symbols that are not found.

In other words I (think I) simply make the symbols globally accessible 
(although it is mod_ssl itself that cannot find them..) so, for 
the non functioning mod_ssl:

nm /usr/local/apache2/modules/mod_ssl.so |grep _ssl_cmd_SSLCACertificateFile
00000000000030b0 t _ssl_cmd_SSLCACertificateFile

while for the working one:

nm /usr/local/apache2/modules/mod_ssl.so |grep _ssl_cmd_SSLCACertificateFile
00000000000030b0 T _ssl_cmd_SSLCACertificateFile



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to