Calculatice : problème installation (Erreur libglib-2.0.so.0)

Bonsoir,
J’essaye d’installer ce paquet deb ( https://calculatice.ac-lille.fr/spip.php?rubrique40 ) sur une machine debian stable 9.4
Installation OK mais au lancement du programme j’ai ce message d’erreur:

# /root/Documents/clc-linux/calcul@TICE 
/root/Documents/clc-linux/calcul@TICE: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory

Pourtant la librairie demandée semble installée

serveur@serveurProliant:~$ aptitude search libglib
i   libglib-object-introspection-pe - Perl bindings for gobject-introspection li
p   libglib-object-introspection-pe - Perl bindings for gobject-introspection li
i A libglib-perl                    - interface to the GLib and GObject librarie
p   libglib-perl:i386               - interface to the GLib and GObject librarie
i A libglib2.0-0                    - GLib library of C routines                
p   libglib2.0-0:i386               - GLib library of C routines                
p   libglib2.0-0-dbg                - Debugging symbols for the GLib libraries  
p   libglib2.0-0-dbg:i386           - Debugging symbols for the GLib libraries  
i A libglib2.0-bin                  - Programs for the GLib library             
p   libglib2.0-bin:i386             - Programs for the GLib library             
p   libglib2.0-cil                  - CLI binding for the GLib utility library 2
p   libglib2.0-cil:i386             - CLI binding for the GLib utility library 2
p   libglib2.0-cil-dev              - CLI binding for the GLib utility library 2
p   libglib2.0-cil-dev:i386         - CLI binding for the GLib utility library 2
i A libglib2.0-data                 - Common files for GLib library             
v   libglib2.0-data:i386            -                                           
p   libglib2.0-dev                  - Development files for the GLib library    
p   libglib2.0-dev:i386             - Development files for the GLib library    
p   libglib2.0-doc                  - Documentation files for the GLib library  
v   libglib2.0-doc:i386             -                                           
p   libglib2.0-tests                - GLib library of C routines - installed tes
p   libglib2.0-tests:i386           - GLib library of C routines - installed tes
p   libglib3.0-cil                  - CLI binding for the GLib library of C rout
p   libglib3.0-cil:i386             - CLI binding for the GLib library of C rout
p   libglib3.0-cil-dev              - CLI binding for the GLib utility library 2
p   libglib3.0-cil-dev:i386         - CLI binding for the GLib utility library 2
i A libglibmm-2.4-1v5               - C++ wrapper for the GLib toolkit (shared l
p   libglibmm-2.4-1v5:i386          - C++ wrapper for the GLib toolkit (shared l
p   libglibmm-2.4-dev               - C++ wrapper for the GLib toolkit (developm
p   libglibmm-2.4-dev:i386          - C++ wrapper for the GLib toolkit (developm
p   libglibmm-2.4-doc               - C++ wrapper for the GLib toolkit (document
v   libglibmm-2.4-doc:i386          - 

Des idées ? D’avance merci :wink:

Salut
J’ai fait l’exercice et idem
Ce paquet est très mal packagé car il ne se soucie pas des dépendances

Dans cette situation il faut utiliser la commande ldd pour savoir de quoi l’exécutable a besoin
et c’est pas gagné…

root@debian:~/Documents/clc-linux# ldd calcul@TICE
	linux-gate.so.1 (0xf7f7d000)
	libnw.so => /root/Documents/clc-linux/./lib/libnw.so (0xf197b000)
	libglib-2.0.so.0 => /usr/lib/i386-linux-gnu/libglib-2.0.so.0 (0xf181a000)
	libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf175c000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf15dd000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf14db000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf14bd000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf149e000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf12c5000)
	libffmpeg.so => /root/Documents/clc-linux/./lib/libffmpeg.so (0xf10c8000)
	librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf10be000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf10b7000)
	libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0xf10b2000)
	libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xf1052000)
	libnss3.so => not found
	libnssutil3.so => not found
	libsmime3.so => not found
	libnspr4.so => not found
	libgconf-2.so.4 => not found
	libgio-2.0.so.0 => /usr/lib/i386-linux-gnu/libgio-2.0.so.0 (0xf0e6c000)
	libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xf0e22000)
	libpangocairo-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0 (0xf0e11000)
	libcairo.so.2 => /usr/lib/i386-linux-gnu/libcairo.so.2 (0xf0cc2000)
	libpango-1.0.so.0 => /usr/lib/i386-linux-gnu/libpango-1.0.so.0 (0xf0c77000)
	libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf0b2a000)
	libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xf0b17000)
	libXcursor.so.1 => not found
	libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf0b02000)
	libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xf0afb000)
	libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xf0aef000)
	libXss.so.1 => not found
	libXcomposite.so.1 => not found
	libasound.so.2 => /usr/lib/i386-linux-gnu/libasound.so.2 (0xf09d5000)
	libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xf09d1000)
	libXtst.so.6 => /usr/lib/i386-linux-gnu/libXtst.so.6 (0xf09c9000)
	libdbus-1.so.3 => /lib/i386-linux-gnu/libdbus-1.so.3 (0xf096b000)
	libatk-1.0.so.0 => not found
	libXrandr.so.2 => not found
	libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xf0939000)
	libcups.so.2 => not found
	libgtk-x11-2.0.so.0 => not found
	libgdk-x11-2.0.so.0 => not found
	libgdk_pixbuf-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0 (0xf090c000)
	/lib/ld-linux.so.2 (0xf7f7f000)
	libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xf0895000)
	libpng16.so.16 => /usr/lib/i386-linux-gnu/libpng16.so.16 (0xf085a000)
	libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf083b000)
	libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xf0832000)
	libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0xf0805000)
	libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xf07ed000)
	libmount.so.1 => /lib/i386-linux-gnu/libmount.so.1 (0xf0787000)
	libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf077e000)
	libpangoft2-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0 (0xf0765000)
	libpixman-1.so.0 => /usr/lib/i386-linux-gnu/libpixman-1.so.0 (0xf06b5000)
	libxcb-shm.so.0 => /usr/lib/i386-linux-gnu/libxcb-shm.so.0 (0xf06b1000)
	libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf0685000)
	libxcb-render.so.0 => /usr/lib/i386-linux-gnu/libxcb-render.so.0 (0xf0676000)
	libthai.so.0 => /usr/lib/i386-linux-gnu/libthai.so.0 (0xf066b000)
	libfribidi.so.0 => /usr/lib/i386-linux-gnu/libfribidi.so.0 (0xf0653000)
	libsystemd.so.0 => /lib/i386-linux-gnu/libsystemd.so.0 (0xf05c1000)
	libblkid.so.1 => /lib/i386-linux-gnu/libblkid.so.1 (0xf0566000)
	libharfbuzz.so.0 => /usr/lib/i386-linux-gnu/libharfbuzz.so.0 (0xf04a6000)
	libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf04a1000)
	libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf049a000)
	libdatrie.so.1 => /usr/lib/i386-linux-gnu/libdatrie.so.1 (0xf0490000)
	liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xf0464000)
	liblz4.so.1 => /usr/lib/i386-linux-gnu/liblz4.so.1 (0xf0445000)
	libgcrypt.so.20 => /lib/i386-linux-gnu/libgcrypt.so.20 (0xf0364000)
	libgraphite2.so.3 => /usr/lib/i386-linux-gnu/libgraphite2.so.3 (0xf0335000)
	libbsd.so.0 => /lib/i386-linux-gnu/libbsd.so.0 (0xf0317000)
	libgpg-error.so.0 => /lib/i386-linux-gnu/libgpg-error.so.0 (0xf02f4000)
root@debian:~/Documents/clc-linux# 

il y a un dossiier Documents/clc-linux/lib et il faudrait rajouter des liens symboliques pour toutes les lib dites “not found” d’autant plus prise de tête puisqu’il faut les avoir en 32 bits (i386)

Bon courage :grin:

j’ajouterai que mettre un fichier dans le dossier Desktop de root je ne trouve pas ça propre

root@debian:~/Desktop# ls
calculatice.desktop
root@debian:~/Desktop#
avram@sda5-stretch: 20:25:07: ~$ apt-file search  libglib-2.0.so.0
libglib2.0-0: /lib/x86_64-linux-gnu/libglib-2.0.so.0
libglib2.0-0: /lib/x86_64-linux-gnu/libglib-2.0.so.0.5000.3
libglib2.0-0: /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
libglib2.0-0: /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.1
libglib2.0-0-dbg: /usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5000.3-gdb.py
libglib2.0-dev: /usr/share/gdb/auto-load/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.1-gdb.py
avram@sda5-stretch: 20:25:29: ~$
avram@sda5-stretch: 20:28:00: ~$ apt-cache policy libglib2.0-0
libglib2.0-0:
  Installé : 2.50.3-2
  Candidat : 2.50.3-2
 Table de version :
     2.56.1-2 100
        100 http://ftp.debian.org/debian sid/main amd64 Packages
 *** 2.50.3-2 500
        500 http://ftp.fr.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
avram@sda5-stretch: 20:28:18: ~$

Merci :wink:
Je vais regarder ces dépendances et essayer de les résoudre, ça risque d’être chaud :wink:
Mais bon de savoir que ce n’est pas que sur mon système que ça plante, c’est déjà ça :). Merci d’avoir testé et pour vos retours. Bonne soirée

bizarre,
par exemple pour

libnss3.so => not found
	libnssutil3.so => not found
	libsmime3.so => not found
	libnspr4.so => not found
	libgconf-2.so.4 => not found

Elles sont pourtant sur mon système

 aptitude search libgconf
i A libgconf-2-4                    - GNOME

 aptitude search libnss3
i A libnss3                 


 aptitude search libnspr
i A libnspr4                        - NetS

Y aurait il un moyen de lui stipuler qu’elles sont présentes sur le système ?

Merci d’avance :wink:

D’ailleurs j’ai chez, il en manque encore plus, alors que la plupart sont bien présentes…

serveurProliant@clc-linux# ldd calcul@TICE
        linux-gate.so.1 (0xf7763000)
        libnw.so => /root/Documents/clc-linux/./lib/libnw.so (0xf1162000)
        libglib-2.0.so.0 => not found
        libfreetype.so.6 => not found
        libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf0fd2000)
        libm.so.6 => /lib32/libm.so.6 (0xf0f7d000)
        libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf0f5d000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf0f40000)
        libc.so.6 => /lib32/libc.so.6 (0xf0d89000)
        libffmpeg.so => /root/Documents/clc-linux/./lib/libffmpeg.so (0xf0b8c000)
        librt.so.1 => /lib32/librt.so.1 (0xf0b83000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf0b7e000)
        /lib/ld-linux.so.2 (0xf7765000)
        libgmodule-2.0.so.0 => not found
        libgobject-2.0.so.0 => not found
        libglib-2.0.so.0 => not found
        libnss3.so => not found
        libnssutil3.so => not found
        libsmime3.so => not found
        libnspr4.so => not found
        libgconf-2.so.4 => not found
        libgio-2.0.so.0 => not found
        libfontconfig.so.1 => not found
        libfreetype.so.6 => not found
        libpangocairo-1.0.so.0 => not found
        libcairo.so.2 => not found
        libpango-1.0.so.0 => not found
        libX11.so.6 => not found
        libXi.so.6 => not found
        libXcursor.so.1 => not found
        libXext.so.6 => not found
        libXfixes.so.3 => not found
        libXrender.so.1 => not found
        libXss.so.1 => not found
        libXcomposite.so.1 => not found
        libasound.so.2 => not found
        libXdamage.so.1 => not found
        libXtst.so.6 => not found
        libdbus-1.so.3 => not found
        libatk-1.0.so.0 => not found
        libXrandr.so.2 => not found
        libexpat.so.1 => not found
        libcups.so.2 => not found
        libgtk-x11-2.0.so.0 => not found
        libgdk-x11-2.0.so.0 => not found
        libgdk_pixbuf-2.0.so.0 => not found

es tu certain que celles que tu vois installées sont des 32 bits.
car il semble avoir besoin des 32 bits
exemple
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf0f5d000)

OK j’avais pas fait gaffe pour les 32 / 64 Bits
Non perso je n’ai que des 64 bits,
donc il faut que j’installe multiarch et les lib correspondantes en 32bits ?
Merci bien !

Un grand merci pour vos orientations,
en installant les paquets i386 ça passe nickel
Bon week end
RESOLU