Ticket #1157 (closed: fixed)
Linux: Some dynamic casts to types defined in plugin libraries fail on linux
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Iteration 22 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
This seems to be a problem with symbol resolution. On linux, when dlopen loads a library the symbols are not made globally available by default.
This seems to cause problems when trying to perform a dynamic cast to types defined in the loaded library if the library has not been linked in with the calling application.
Change History
Note: See
TracTickets for help on using
tickets.
(In [4107]) Added RTLD_GLOBAL flag to dlopen on POSIX so that when a library is loaded then all of the symbols defined there are available to the calling application. I was seeing problems with some dynamic casts relating to this. Re #1157