libXm/libXt problem

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

1 post / 0 new
libXm/libXt problem

Submitted by neologic on Thu, 10/19/2000 - 21:57.

Hello,

When implementing some Mozilla plugin I found the following problem
- Mozilla dynamically (-l) linked with libXt and doesn`t depend on Motif.
- my plugin depends on Motif (libXm) - dynamically or statically.
- my plugin can be, or can be not loaded (depending on browsed pages)
- if it got loaded when it starts application crashes, as it`s known limitation that libXm would never be loaded after libXt.

So it would be very interesting to
- Understand reasons of this limitation (I know about VendorShellWidgetClass, maybe there are others)
- To hear ideas of workaround for this problem. I`m know it`s possible to use LD_PRELOAD=libXm.so,
but it doesn`t work on systems when Motif is statically linked.

Thanks,
Nikolay.