https://bugs.openldap.org/show_bug.cgi?id=10176
--- Comment #3 from philip.miloslavsky@gmail.com --- I added a line commenting out just the atexit() for AIX. Is that OK you think?
We'll have to redo that every time we pull a new LTS version of openldap so it would be good for you to make some change (I can test). Getting AIX to change atexit() is probably even lower probability!
BTW we had to upgrade the configure infrastructure inside openldap to autoconf=2.69 to get it to behave reasonably for AIX.