[10275] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: FreeBSD and gtk 1.1.3 problem
daemon@ATHENA.MIT.EDU (Lyndon Drake)
Thu Nov 19 22:10:50 1998
Date: Fri, 20 Nov 1998 16:09:59 +1300
From: Lyndon Drake <lyndon@stat.auckland.ac.nz>
To: GTK+ list <gtk-list@redhat.com>
In-Reply-To: <19981120103456.A28654@stat.auckland.ac.nz>; from Lyndon Drake on Fri, Nov 20, 1998 at 10:34:56AM +1300
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
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
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null