J'ai (tenté) installé un soft qui me demande des librairies que je n'ai pas, je les installe et elle s'installe.
Mais quand je relance mon installation de soft il me dit quelle n'est pas installé :
checking for gtkmm-config... /usr/local/bin/gtkmm-config
checking for GTK-- - version >= 1.2.5... no
*** Could not run GTK-- test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GTK-- or finding the wrong
*** version of GTK--. If it is not finding GTK--, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: You need to have the gtkmm libraries installed of at least version 1.2.5 and above - see the README for more information
J'ai édité le fichier gtkmm-config (qui est bien exécutable et elle est bien installé dans /usr/local/gtkmm)
#!/bin/sh
# this is shamelessly stolen from gnome-config
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
bindir=${exec_prefix}/bin
pkglibdir=${libdir}/gtkmm
transform=s,x,x,
....
....
....
case $1 in
--version)
echo 1.2.8 (c'est bien une bonne version!)
exit 0
;;
...
...
...
Après ça j'ai édité le fichier ld.so.conf
/usr/lib
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/sane
/usr/lib/qt-2.3.0/lib
/usr/lib/qt-1.45/lib
/usr/local/lib
Il ne doit pas avoir gros chose mais je ne vois pas. Ca ma fait la même chose avec une autre et comme solution j'ai copié le répertoire /usr/loval/bin dans /lib et ça a marche mais il doit y avoir une méthode plus propre?!