Jens-Uwe Mager <[EMAIL PROTECTED]> writes: > I am attempting to get DSO's to work on AIX 5.1. I am using the > following config (cvs from today): > > CC="xlc_r -qnogenpcomp -qnousepcomp" \ > configure \ > --prefix=/data/jum/apache \ > --enable-so \ > --enable-modules=most \ > --enable-mods-shared=most \ > --with-mpm=worker > > Upon startup I get the following segfault: > > Segmentation fault in glink.apr_array_make at 0xd2156270 ($t1) > 0xd2156270 (apr_array_make+0x8) 800c0000 lwz r0,0x0(r12) > (dbx) where > glink.apr_array_make() at 0xd2156270 > apr_hook_sort_register(0x10042d48, 0x200058f8), line 223 in "apr_hooks.c"
> Does anybody have any clue what might be wrong? Yeah, it looks like shared library apr-util doesn't know where to find routines in shared library apr. Make sure you're using libtool 1.4.2. Make sure you configured libtool with CFLAGS="-Wl,-bexpall" ./configure so that one of its tests works on AIX. (I'm not 100% sure sure this is required. I corresponded with somebody a couple of days ago that said they couldn't get Apache+apr+aprutil to stop segfaulting until they did this.) There are some notes at http://www.apache.org/~trawick/aixbuildpd.html http://www.apache.org/~trawick/aixstatus.html http://www.apache.org/~trawick/apache-2-on-aix.html The first page attempts to tell you some how to get the right documentation to determine what caused a bad build. Feel free to send me directly the information described under "Documentation." -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/SiliconValley/Park/9289/ Born in Roswell... married an alien...
