libcrystax.so doesn't export on_exit() but atexit().
Have a nice day.
Updated by Dmitry Moskalchuk over 5 years ago
- Category set to libcrystax
- Status changed from Open to Waiting for feedback
- Assignee set to Dmitry Moskalchuk
This is deprecated function. Even in glibc it's not recommended for use. See "here":http://man7.org/linux/man-pages/man3/on_exit.3.html:
This function comes from SunOS 4, but is also present in glibc. It
no longer occurs in Solaris (SunOS 5). Portable application should
avoid this function, and use the standard atexit(3) instead.
I'm not sure it makes sense to add it to the libcrystax, especially taking into account that @on_exit@ is really ancient.
Updated by Gilbert Röhrbein over 5 years ago
Thank you for pointing this out to me. I try to compile gettext and now I realise that something goes wrong at configure time such that gettext chooses to compile a definition of atexit, which relies on on_exit. I look it up why it thinks that atexit isn't provided by the host.