je crois que glib, gtk, et lib dans ce genre (gnome quoi) sont gérées différement des lib normales
pour voir les libs gnome faut faire un pkg-config --list-all
par ex chez moi ca donne :
Code :
- loic@helium:~$ pkg-config --list-all
- gmodule GModule - Dynamic module loader for GLib
- gdk GDK - GIMP Drawing Kit
- gdk-pixbuf-xlib-2.0 GdkPixbuf Xlib - GdkPixbuf rendering for Xlib
- gdk-x11-2.0 GDK - GIMP Drawing Kit (x11 target)
- glib GLib - C Utility Library
- gmodule-2.0 GModule - Dynamic module loader for GLib
- gdk-pixbuf-2.0 GdkPixbuf - Image loading and scaling
- gtk+-x11-2.0 GTK+ - GIMP Tool Kit (x11 target)
- gthread GThread - Thread support for GLib
- glib-2.0 GLib - C Utility Library
- gobject-2.0 GObject - GLib Type, Object, Parameter and Signal Library
- gthread-2.0 GThread - Thread support for GLib
- gtk+-2.0 GTK+ - GIMP Tool Kit (x11 target)
- pangox Pango X - X Window System font support for Pango
- imlib Imlib - An image loading and rendering library for X11R6
- gtk+ GTK+ - GIMP Tool Kit
- pango Pango - Internationalized text handling
- gdk-2.0 GDK - GIMP Drawing Kit (x11 target)
- imlibgdk ImlibGdk - GDK support libraries for Imlib
- atk Atk - Accessibility Toolkit
|
Chaque lib la a un fichier .pc, par ex la lib atk a un fichier atk.pc qui définit la lib (chemins, etc) et les dépendances entre elles (genre atk nécessite gtk2)
Ce fichier doit figurer dans un rep définit par la var d'env LD_CONFIG_PATH
man pkg-config pour des infos intéressantes
(je pense que je me suis pas planté, si oui merci de m'expliquer ou)
edit : chez moi les .pc sont dans /usr/local/lib/pkg-config
Message édité par monokrome le 01-07-2002 à 05:11:08