Re: dlopen(), atexit() on FreeBSD

2007-12-31 Thread Giorgos Keramidas
On 2007-12-30 18:49, Markus Hoenicka [EMAIL PROTECTED] wrote: Hi, I bumped into a platform-specific problem when using the Firebird database client library in a dlopen()ed module on FreeBSD. libdbi (http://libdbi.sourceforge.net) is a database abstraction layer which dlopen()s available

Re: dlopen(), atexit() on FreeBSD

2007-12-31 Thread Markus Hoenicka
Giorgos Keramidas writes: The __cxa_finalize() function is not called by atexit(), but by exit() I see. Since the program is going to exit and have all its dlopened shared objects be unmapped, it's probably ok to skip the dlclose() step in this example. Just for the record: I've