Je désire utiliser les librairies GTK pour programmer des interfaces graphiques, j'ai installer le GTk (ainsi que atk, gdk, glib et pango) mais j'ai visiblement un pb de dépendances car en compilant :
cc -o test test.o -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib -lXext -lX11 -lm
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../../libgdk.so: undefined reference to `XGetDeviceMotionEvents'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../../libgdk.so: undefined reference to `XFreeDeviceList'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../../libgdk.so: undefined reference to `XQueryDeviceState'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../../libgdk.so: undefined reference to `XListInputDevices'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../../libgdk.so: undefined reference to `XFreeDeviceMotionEvents'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../../libgdk.so: undefined reference to `XFreeDeviceState'
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../../libgdk.so: undefined reference to `XOpenDevice'
(…)