Re: dlclose() doesn't unload any .so that uses Boost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2011-05-29 at 01:32 +0200, J wrote:
> // compile with: g++ -ldl host.cpp -o host
<snip>
> // compile with: g++ -lboost_signals child.cpp -shared -fPIC -o libchild.so

Just for grins, what happens if you link main against Boost?
g++ -ldl host.cpp -o host -lboost_signals

It may be that since Boost is being pulled in to satisfy the child,
somehow that is preventing the child from being unloaded.

Of course, this isn't really a GCC question, but a libc/binutils
question, so you may do better over on that list.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux