Fixed "mcs failing to load plugins"-issue
edscott wilson garcia
edscott at imp.mx
Thu Mar 6 15:43:39 CET 2003
El mié, 05-03-2003 a las 17:01, Benedikt Meurer escribió:
> On Wed, 05, Mar 2003, edscott wilson garcia wrote:
>
> > What I see is that the -export-dynamic flag is being sent to libtool,
> > but libtool is not passing it on to the gcc command it generates (sh0uld
> > it?):
> >
> > /bin/sh ../../libtool --mode=link gcc -g -O2 -o mouse_plugin.la
> > -rpath /usr/local/lib/xfce-mcs-manager/plugins -avoid-version
> > -export-dynamic -module mouse_plugin_la-mouse_plugin.lo
> > ../../plugins/gtk_common/libgtkcommon.la -lSM -lICE -lX11
> > -Wl,-R/usr/local/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/X11R6/lib
> > -L/usr/local/lib -L/usr/X11R6/lib -lxfcegui4 -lgtk-x11-2.0 -lgdk-x11-2.0
> > -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
> > -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/local/lib
> > -L/usr/X11R6/lib -lxfcegui4 -lxfce4mcs-manager -lgtk-x11-2.0
> > -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
> > -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
> >
> > and then...
> >
> > gcc -shared .libs/mouse_plugin_la-mouse_plugin.o -Wl,--whole-archive
> > ../../plugins/gtk_common/.libs/libgtkcommon.a -Wl,--no-whole-archive
> > -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
> > ../../plugins/gtk_common/.libs/libgtkcommon.a -lSM -lICE -lX11
> > -L/usr/local/lib -L/usr/X11R6/lib /usr/local/lib/libxfcegui4.so
> > /usr/local/lib/libxfce4mcs-manager.so -lgtk-x11-2.0 -lgdk-x11-2.0
> > -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
> > -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lc -Wl,-R/usr/local/lib
> > -Wl,-R/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -Wl,-soname
> > -Wl,mouse_plugin.so -o .libs/mouse_plugin.so
>
> Ok, heres something missing: -Wl--export-dynamic
>
> Please try to use the libtool version I suggested. Maybe RedHat fucked up
> their libtool package.
Ok. I'll try it as soon as I get to the box in question at work.
saludos,
Edscott
>
> regards,
> Benedikt
>
> --
> Those who do not understand Unix are condemned to reinvent it, poorly.
> -- Henry Spencer
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://moongroup.com/mailman/listinfo/xfce4-dev
>
More information about the Xfce4-dev
mailing list