dlclose() doesn't call dtor for some .so files

Skunk Worx skunkworx@verizon.net
Tue Jul 17 03:58:00 GMT 2012


Hello,

I am using two different 64 bit systems, both RedHat flavored.

One is Scientific Linux 6 :

$ rpm -qa | grep glibc
glibc-2.12-1.47.el6_2.9.x86_64

$ uname -r
2.6.32-220.23.1.el6.x86_64

The other is Fedora 17 :

$ rpm -qa | grep glibc
glibc-2.15-37.fc17.x86_64

$ uname -r
3.4.4-5.fc17.x86_64

I am running into the same problem described in the following thread :

http://gcc.gnu.org/ml/gcc-help/2011-05/msg00403.html

The destructor doesn't get called when the library is dlclose()'d.

The linked thread suggests that this may be a glibc issue.

Regards,
John



More information about the Libc-help mailing list