Where am I likely to find mod_jk.so for apache 2.4.46 ?
Thanks
It is not located anywhere here.
You should first have mod_jk.so (unix) or mod_jk.dll (Windows) installed in your Apache module directory (see your Apache documentation to locate it).
Usual locations for modules directory on Unix:
/usr/lib/apache/
/usr/lib/apache2/
/usr/local/apache/libexec/
/usr/local/apache/modules/
You'll find a link to prebuilt binaries here
https://downloads.apache.org/
not there I think.
I tried to build it, first attempt
./configure --with-apache=/home/pi/Downloads/httpd-2.4.46
pi@raspberrypi:~/Downloads/tomcat-connectors-1.2.48-src/native $ make
Making all in common
make[1]: Entering directory '/home/pi/Downloads/tomcat-connectors-1.2.48-src/native/common'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/Downloads/tomcat-connectors-1.2.48-src/native/common'
Making all in apache-2.0
make[1]: Entering directory '/home/pi/Downloads/tomcat-connectors-1.2.48-src/native/apache-2.0'
/bin/bash ../libtool --mode=compile gcc -I/home/pi/Downloads/httpd-2.4.46/include -I/home/pi/Downloads/httpd-2.4.46/srclib/apr/include -I/home/pi/Downloads/httpd-2.4.46/os/unix -I/home/pi/Downloads/httpd-2.4.46/srclib/apr-util/include -DHAVE_CONFIG_H -DUSE_APACHE_MD5 -I../common -I ../common -DHAVE_CONFIG_H -c mod_jk.c -o mod_jk.lo
libtool: compile: gcc -I/home/pi/Downloads/httpd-2.4.46/include -I/home/pi/Downloads/httpd-2.4.46/srclib/apr/include -I/home/pi/Downloads/httpd-2.4.46/os/unix -I/home/pi/Downloads/httpd-2.4.46/srclib/apr-util/include -DHAVE_CONFIG_H -DUSE_APACHE_MD5 -I../common -I ../common -DHAVE_CONFIG_H -c mod_jk.c -fPIC -DPIC -o .libs/mod_jk.o
In file included from /home/pi/Downloads/httpd-2.4.46/include/ap_config.h:25,
from mod_jk.c:28:
/home/pi/Downloads/httpd-2.4.46/include/ap_hooks.h:39:10: fatal error: apr.h: No such file or directory
#include "apr.h"
^~~~~~~
compilation terminated.
make[1]: *** [Makefile:80: mod_jk.lo] Error 1
make[1]: Leaving directory '/home/pi/Downloads/tomcat-connectors-1.2.48-src/native/apache-2.0'
make: *** [Makefile:470: all-recursive] Error 1