Fixed "mcs failing to load plugins"-issue
Benedikt Meurer
Benedikt.Meurer at unix-ag.uni-siegen.de
Thu Mar 6 00:01:40 CET 2003
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.
regards,
Benedikt
--
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
More information about the Xfce4-dev
mailing list