Trouble compiling xfce-mcs-manager on Solaris

Craig A. Betts craig.betts at
Tue Jun 10 16:45:20 CEST 2003

Benedikt Meurer wrote:
> On Mon, 09, Jun 2003, Craig A. Betts wrote:
>><<==--  SNIP  --==>>
>>gcc -g -O2 -o xfce-setting-show xfce_setting_show-xfce-setting-show.o 
>>-L/usr/openwin/lib -L/usr/local/lib /usr/local/lib/ 
>>-lSM -lICE -lsocket -lnsl -lX11 -lSM -lICE -lSM -lICE -lsocket -lnsl 
>>-lX11 -lglib-2.0 -lglib-2.0 -lglib-2.0 /usr/local/lib/ 
>>-lglib-2.0 -lSM -lICE -lsocket -lnsl -lX11 -lSM -lICE -lSM -lICE 
>>-lsocket -lnsl -lX11 -lglib-2.0 -lglib-2.0 -lgtk-x11-2.0 
>>/usr/local/lib/ -lglib-2.0 -lgdk-x11-2.0 -latk-1.0 
>>-lgdk_pixbuf-2.0 -lm -lpangox-1.0 -lpango-1.0 -lgobject-2.0 
>>-lgmodule-2.0 -ldl -lglib-2.0 -R/usr/local/lib -R/usr/local/lib 
>>Undefined                       first referenced
>> symbol                             in file
>>bind_textdomain_codeset             /usr/lib/
> 				      ^^^^^^^^^^^^^^^^^^^^^^^
> Thats weird. Looks like your glib requires some other lib to be linked in,
> but does not mention the lib in the .pc file.
> Are you able to build any other Gtk/Glib2 app, that uses gettext?
> The problem might be, that this libglib was linked with GNU gettext lib,
> but now finds Solaris gettext lib instead (I don't know how Sun builds
> their packages). Please check this first.
> Benedikt

{{*** Sound of palm hitting forehead  ***}}

I have been bitten by this before.  I forgot the Sun Gnome 2 package was 
compiled with Forte, not gcc.  Thanks for the insight!

Craig A. Betts
IT Security Design Engineer
Arcata Associates, Inc. - Dryden Flight Research Center - NASA
Voice: (661) 276-2085     Pager: (661) 276-3038 #4010

More information about the Xfce4-dev mailing list