Re: [gtk-list] FreeBSD and gtk 1.1.3 problem



On Fri, Nov 20, 1998 at 10:34:56AM +1300, Lyndon Drake wrote:
> Hi,
> 
> When I try to run any gtk+ application, I get this error:
> /usr/libexec/ld.so: Undefined symbol "__Xsetlocale" called from gtkicq:/usr/X11R6/lib/libgtk11.so.1.3 at 0x2012565c
> 
> The machine is a FreeBSD 2.2.7 PII-450, with gtk+ 1.1.3 and glib 1.1.4.  We have XFree86.
> 

I've figured out what the problem is.  configure thinks that _Xsetlocale is needed, when in fact there is a perfectly good setlocale.  In the end I had to comment out #include <Xlocale.h> from gtkmain.c, and add #include <locale.h>.

Is this a bug in gtk, or did I do something wrong elsewhere?

Thanks,
Lyndon



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]