Dear community,

Perhaps others have seen this as well: ever since I upgraded to Leopard, my shared mod_ssl build has been broken. The resulting binary fails to load with a missing symbol:

httpd: Syntax error on line 99 of /UserData/asf/httpd-22x-wk-r664370/ conf/httpd.conf: Cannot load /UserData/asf/httpd-22x-wk-r664370/ modules/mod_ssl.so into server: dlopen(/UserData/asf/httpd-22x-wk- r664370/modules/mod_ssl.so, 10): Symbol not found: _ssl_callback_SSLVerify\n Referenced from: /UserData/asf/httpd-22x-wk- r664370/modules/mod_ssl.so\n Expected in: flat namespace\n

It looks like the culprit is the following revision:

http://svn.apache.org/viewvc?view=rev&revision=105740

where Joe added -export-symbols-regex ssl_module to the libtool link line.

The offending missing symbol is only referenced internally by mod_ssl, when a callback is set. Looks like libtool doesn't do the right thing (anymore) for this and perhaps other internal symbols.

There is a Bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=44384

There are apparently two solutions:

1) Do away with the -export-symbols... option, or
2) Buildconf and build APR with libtool 1.5.26

To date, mod_ssl is the only module that limits its symbol exports this way. Going by the make output, other module in the standard distribution that I build has this in its link line. What does this actually buy us? Do we need it?

S.

--
Sander Temme
[EMAIL PROTECTED]
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to