tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thiyagaraj Annamalai <>
Subject Fwd: Error starting httpd-2.4.4 with mod_jk on osx
Date Sun, 07 Jul 2013 12:27:27 GMT

I'm on OS X 10.8.4. I'm trying to configure mod_jk with httpd-2.4.4 and
getting the below error when starting 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/ into server:
        dlopen(/usr/libexec/apache2/, 10):
    Symbol not found:
        _ap_log_error\n  Referenced from: /usr/libexec/apache2/
        Expected in: flat namespace\n in /usr/libexec/apache2/

How can I fix this?

I compiled httpd and mod_jk from the source and both the build went fine.

Here's how I built and the conf info.:

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

# compile instructions for mod_jk
tomcat-connectors-1.2.37-src$ cd native
native$ ./configure CFLAGS='-arch x86_64' APXSLDFLAGS='-arch x86_64'
native$ make
native$ sudo make install

#Content of /usr/local/apache/conf/other/httpd-mine.conf
NameVirtualHost *:80
LoadModule jk_module /usr/libexec/apache2/

I tried googling and found the above build instructions but still I get the
error. Thanks in advance for the help!


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message