Page 1 of 1

apr_pool_parent_get AND apr_pool_get_parent

PostPosted: 23. August 2007 02:36
by killermiller
Hi,
I can't get the tomcat addon to work.

Err msg from "apachectl -t"
httpd: Syntax error on line 206 of /opt/lampp/etc/httpd.conf:
Syntax error on line 1 of /opt/lampp/etc/tomcat.conf:
Cannot load /opt/lampp/modules/mod_jk2.so into server:
/opt/lampp/modules/mod_jk2.so: undefined symbol: apr_pool_get_parent

using Novell (SUSE) Desktop 10
I have libapr installed, and lampp also has libapr

the problem is that Novell's libapr uses apr_pool_parent_get
and mod_jk uses apr_pool_get_parent

is there anyway to fix this without recompiling mod_jk?
I downloaded source from apache and it is very confusing

it needs
#define apr_pool_get_parent apr_pool_parent_get

Thanks