dlclose() doesn't unload any .so that uses Boost
Ian Lance Taylor
iant@google.com
Tue May 31 06:01:00 GMT 2011
David Hagood <david.hagood@gmail.com> writes:
> 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
>
> Of course, this isn't really a GCC question, but a libc/binutils
> question, so you may do better over on that list.
To be precise, this is a libc question. It is not a binutils question.
This is a question about the dynamic linker and libdl, both of which are
part of libc on a typical Unix or GNU/Linux system.
Ian
More information about the Gcc-help
mailing list