As it seem that the bug is in libapr you should make sure to use the latest. It's possible that you are still using the old library. Try100:/Users/boka/modperl-2.0 root# otool -L /Library/Apache2/bin/httpd
ldd httpd
and see which libapr.so it links to.
/Library/Apache2/bin/httpd:
/usr/local/apache2/lib/libaprutil-1.0.dylib (compatibility version 2.0.0, current version 2.1.0)
/usr/local/apache2/lib/libexpat.0.dylib (compatibility version 2.0.0, current version 2.0.0)
/usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version 5.0.0)
/usr/local/apache2/lib/libapr-1.0.dylib (compatibility version 2.0.0, current version 2.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.0.0)
/usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 92.0.0)
Installed the latest snapshot from APR. <x-tad-bigger>apr_20050804222905.tar.gz</x-tad-bigger> and after that when building Apache I got an other problem.
<x-tad-bigger>
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/Users/boka/httpd-2.1.6-alpha/srclib/pcre -I. -I/Users/boka/httpd-2.1.6-alpha/os/unix -I/Users/boka/httpd-2.1.6-alpha/server/mpm/prefork -I/Users/boka/httpd-2.1.6-alpha/modules/http -I/Users/boka/httpd-2.1.6-alpha/modules/filters -I/Users/boka/httpd-2.1.6-alpha/modules/proxy -I/Users/boka/httpd-2.1.6-alpha/include -I/Users/boka/httpd-2.1.6-alpha/modules/generators -I/Users/boka/httpd-2.1.6-alpha/modules/mappers -I/usr/local/apr/include/apr-1 -I/usr/local/apache2/include -I/Users/boka/httpd-2.1.6-alpha/modules/proxy/../generators -I/Users/boka/httpd-2.1.6-alpha/modules/ssl -I/Users/boka/httpd-2.1.6-alpha/modules/dav/main -prefer-non-pic -static -c exports.c && touch exports.lo
exports.c:1572: error: redefinition of 'ap_hack_apr_allocator_create'
exports.c:687: error: previous definition of 'ap_hack_apr_allocator_create' was here
exports.c:1573: error: redefinition of 'ap_hack_apr_allocator_destroy'
exports.c:688: error: previous definition of 'ap_hack_apr_allocator_destroy' was here
</x-tad-bigger>
but as the problem is not with modPerl I think it is best that I take this to the APR mailing list
Thank's for your answer
Hälsningar från Sverige / Sive