Erreur lors du démarrage d'apache httpd-2.4.4 configuré avec mod_jk

J'essaie de configurer mod_jk avec httpd-2.4.4 et d'get l'erreur ci-dessous lors du démarrage d'Apache.

 httpd: Syntax error on line 500 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf/other/httpd-mine.conf: Cannot load /usr/libexec/apache2/mod_jk.so into server: dlopen(/usr/libexec/apache2/mod_jk.so, 10): Symbol not found: _ap_log_error\n Referenced from: /usr/libexec/apache2/mod_jk.so Expected in: flat namespace\n in /usr/libexec/apache2/mod_jk.so 

Comment puis-je réparer cela?

Je suis sur OS X 10.8.4 (12E55)

J'ai compilé httpd et mod_jk de la source et les deux ont bien fonctionné.

Voici comment j'ai construit et les informations de conf:

 # comstack instructions for httpd # apr, apr-util in srclib/ httpd-2.4.4$ ./configure --prefix=/usr/local/apache --with-included-apr --with- pcre=/usr/local httpd-2.4.4$ make httpd-2.4.4$ sudo make install # comstack instructions for mod_jk tomcat-connectors-1.2.37-src$ cd native native$ ./configure CFLAGS='-arch x86_64' APXSLDFLAGS='-arch x86_64' --with-apxs=/usr/sbin/apxs native$ make native$ sudo make install #Content of /usr/local/apache/conf/other/httpd-mine.conf NameVirtualHost *:80 LoadModule jk_module /usr/libexec/apache2/mod_jk.so 

J'ai trouvé le problème. Je apxs la mauvaise version d' apxs (httpd-2.2) lors de la configuration de la construction mod_jk .

 native$ ./configure CFLAGS='-arch x86_64' APXSLDFLAGS='-arch x86_64' --with-apxs=/usr/sbin/apxs 

Après avoir compilé mod_jk avec le file apxs droit, httpd commencé sans problèmes.

 native$ ./configure CFLAGS='-arch x86_64' APXSLDFLAGS='-arch x86_64' --with-apxs=/usr/local/apache/bin/apxs