Does an object created by gcc -pthread -shared have the correct DT_NEEDED fields though? I would expect that APR_PTHREADS_CHECK would work this out correctly, if apr_hints.m4 didn't set apr_cv_pthreads_cflags. Paul, can you try:
We're passing libc_r (via -lc_r) to libtool, but libtool just ignores our linking of libc_r. The newer versions of libtool doesn't have that particular brain damage. -- justin
