dlopen on Linux

garrygarry Member
I have dynamic_cast problem on Linux when I use icebox. According to GCC info (http://gcc.gnu.org/faq.html#dso), shared libraries that use dynamic_cast must be loaded with RTLD_GLOBAL flag. In my particular case, exception handling fails unless I recomplie Ice with such modification.

Comments

  • bernardbernard Jupiter, FLBernard NormierOrganization: ZeroC, Inc.Project: IceAdministrators, ZeroC Staff ZeroC Staff
    Hi Garry,

    Thanks for the bug report! You're right, it should be RTLD_GLOBAL; it will be fixed in the next patch release (2.1.1).

    Bernard
Sign In or Register to comment.