#1 Le 09/10/2012, à 15:42
- kerkael
[Résolu] error while loading shared libs 32b/64b
Bonjour,
Problème déjà vu dans d'autre sujets mais je trouve pas la soluce.
Sur Ubuntu 12.04 64b, j'essaye d'installer l'appli FNAC de création d'album photo.
Quand je lance l'executable :
$ ./Atelier\ Photo\ FNAC
./Atelier Photo FNAC: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
J'ai installé libstdc++6, mais le message est le même
$ sudo apt-get install libstdc++6
$ sudo find / -name libstdc++.so.6
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
Alors je tente cela :
$ LD_LIBRARY_PATH=/usr/local/lib
$ export LD_LIBRARY_PATH
$ ./Atelier\ Photo\ FNAC
./Atelier Photo FNAC: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64
Qu'est-ce que je fais mal ?
Pourquoi une erreur d'ELF class 64, alors que je suis bien en 64b ? Est-ce que c'est l'appli FNAC qui supporte pas ls 64b ? J'ai trouvé qu'une version linux à downloader sur fnac.com. (désolé pour la pub).
Merci
Dernière modification par kerkael (Le 15/10/2012, à 10:36)
Hors ligne
#2 Le 09/10/2012, à 16:25
- credenhill
Re : [Résolu] error while loading shared libs 32b/64b
hello
essayer avec
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/
Hors ligne
#3 Le 10/10/2012, à 16:03
- kerkael
Re : [Résolu] error while loading shared libs 32b/64b
J'avais vérifié que LD_LIBRARY_PATH était vide avant de l'exporter.
Le problème semble plutôt venir de la version ELF64, non ?
merci
Hors ligne
#4 Le 11/10/2012, à 08:51
- credenhill
Re : [Résolu] error while loading shared libs 32b/64b
est ce que l'exécutable est en 64b et quelles libs utilise-t-il ?
file Atelier\ Photo\ FNAC
ldd Atelier\ Photo\ FNAC
Hors ligne
#5 Le 13/10/2012, à 15:38
- kerkael
Re : [Résolu] error while loading shared libs 32b/64b
ok, merci ... le résultat est pas joli :
$ file Atelier\ Photo\ FNAC
Atelier Photo FNAC: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped
$ ldd Atelier\ Photo\ FNAC
linux-gate.so.1 => (0xf7760000)
libIccProfLib.so.0 => /media/home//Fnac/./libIccProfLib.so.0 (0xf76e2000)
libCWImageLoader.so.0 => /media/home//Fnac/./libCWImageLoader.so.0 (0xf76ac000)
libCWGUIWidgets.so.0 => /media/home//Fnac/./libCWGUIWidgets.so.0 (0xf764c000)
libexiv2.so.6 => /media/home//Fnac/./libexiv2.so.6 (0xf74a3000)
libhunspell-1.2.so.0 => /media/home//Fnac/./libhunspell-1.2.so.0 (0xf7463000)
libssl.so.0.9.8 => /media/home//Fnac/./libssl.so.0.9.8 (0xf7419000)
libcrypto.so.0.9.8 => /media/home//Fnac/./libcrypto.so.0.9.8 (0xf72c3000)
libQtWebKit.so.4 => /media/home//Fnac/./libQtWebKit.so.4 (0xf62c1000)
libQtXmlPatterns.so.4 => /media/home//Fnac/./libQtXmlPatterns.so.4 (0xf5eaa000)
libQtSvg.so.4 => /media/home//Fnac/./libQtSvg.so.4 (0xf5e53000)
libQtXml.so.4 => /media/home//Fnac/./libQtXml.so.4 (0xf5e0c000)
libQtGui.so.4 => /media/home//Fnac/./libQtGui.so.4 (0xf53a3000)
libQtNetwork.so.4 => /media/home//Fnac/./libQtNetwork.so.4 (0xf527e000)
libQtCore.so.4 => /media/home//Fnac/./libQtCore.so.4 (0xf4ff9000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf4fcb000)
libstdc++.so.6 => not found
libm.so.6 => /lib32/libm.so.6 (0xf4f9f000)
libgcc_s.so.1 => not found
libc.so.6 => /lib32/libc.so.6 (0xf4df8000)
libz.so.1 => /media/home/laurent/Fnac/./libz.so.1 (0xf4de2000)
libX11.so.6 => not found
libstdc++.so.6 => not found
libgcc_s.so.1 => not found
libstdc++.so.6 => not found
libgcc_s.so.1 => not found
libstdc++.so.6 => not found
libgcc_s.so.1 => not found
libexpat.so.1 => /media/home/laurent/Fnac/./libexpat.so.1 (0xf4dba000)
libstdc++.so.6 => not found
libgcc_s.so.1 => not found
libstdc++.so.6 => not found
libgcc_s.so.1 => not found
libdl.so.2 => /lib32/libdl.so.2 (0xf4db4000)
libXrender.so.1 => not found
libfontconfig.so.1 => not found
libfreetype.so.6 => not found
libXext.so.6 => not found
libX11.so.6 => not found
libstdc++.so.6 => not found
libgcc_s.so.1 => not found
libstdc++.so.6 => not found
libgcc_s.so.1 => not found
libstdc++.so.6 => not found
libgcc_s.so.1 => not found
libstdc++.so.6 => not found
libgcc_s.so.1 => not found
libfreetype.so.6 => not found
libSM.so.6 => not found
libICE.so.6 => not found
libXrender.so.1 => not found
libfontconfig.so.1 => not found
libXext.so.6 => not found
libX11.so.6 => not found
libstdc++.so.6 => not found
libgcc_s.so.1 => not found
libstdc++.so.6 => not found
libgcc_s.so.1 => not found
librt.so.1 => /lib32/librt.so.1 (0xf4da5000)
/lib/ld-linux.so.2 (0xf7761000)
libstdc++.so.6 => not found
libgcc_s.so.1 => not found
Qu'est-ce qu'il faut qu'je fais (en plus d'apprendre le subjonctif) ?
Hors ligne
#6 Le 13/10/2012, à 15:53
- credenhill
Re : [Résolu] error while loading shared libs 32b/64b
c'est important le subjonctif.
Pour exécuter du 32bits sur un système 64bits, il faut des librairires 32bits.
installer déja celles-ci
sudo apt-get install ia32-libs
Hors ligne
#7 Le 15/10/2012, à 10:35
- kerkael
Re : [Résolu] error while loading shared libs 32b/64b
Ah, super ! Ça marche. Merci.
j'ignorais tout de ces problèmes de librairies 32b nécessaires.
Je clos.
Hors ligne
#8 Le 23/11/2013, à 10:00
- yannoo75020
Re : [Résolu] error while loading shared libs 32b/64b
J'ai le même style de pb en voulant installer genymotion sous Ubuntu 13.10 en 64bits
genymotion: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x84ccf4ebcfdd235f225ba6856599905b39ac00cb, not stripped
linux-gate.so.1 => (0xf773b000)
libqca.so.2 => /home/yannoo/Dev/Android/GenyMotion/genymotion/./libqca.so.2 (0xf7646000)
libQtWebKit.so.4 => /home/yannoo/Dev/Android/GenyMotion/genymotion/./libQtWebKit.so.4 (0xf5e8a000)
libQtScript.so.4 => /home/yannoo/Dev/Android/GenyMotion/genymotion/./libQtScript.so.4 (0xf5c05000)
libQtGui.so.4 => /home/yannoo/Dev/Android/GenyMotion/genymotion/./libQtGui.so.4 (0xf5112000)
libQtNetwork.so.4 => /home/yannoo/Dev/Android/GenyMotion/genymotion/./libQtNetwork.so.4 (0xf4fbd000)
libQtCore.so.4 => /home/yannoo/Dev/Android/GenyMotion/genymotion/./libQtCore.so.4 (0xf4cd4000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf4c9f000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf4bb6000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf4b99000)
libc.so.6 => /lib32/libc.so.6 (0xf49e7000)
libX11.so.6 => not found
libXrender.so.1 => not found
libgstapp-0.10.so.0 => not found
libgstinterfaces-0.10.so.0 => not found
libgstpbutils-0.10.so.0 => not found
libgstvideo-0.10.so.0 => not found
libgstbase-0.10.so.0 => not found
libgstreamer-0.10.so.0 => not found
libgobject-2.0.so.0 => not found
libglib-2.0.so.0 => not found
libm.so.6 => /lib32/libm.so.6 (0xf49a2000)
libglib-2.0.so.0 => not found
libz.so.1 => /usr/lib32/libz.so.1 (0xf4988000)
libfreetype.so.6 => not found
libgobject-2.0.so.0 => not found
libXrender.so.1 => not found
libgstapp-0.10.so.0 => not found
libgstinterfaces-0.10.so.0 => not found
libgstpbutils-0.10.so.0 => not found
libgstvideo-0.10.so.0 => not found
libgstbase-0.10.so.0 => not found
libgstreamer-0.10.so.0 => not found
libgobject-2.0.so.0 => not found
libglib-2.0.so.0 => not found
libm.so.6 => /lib32/libm.so.6 (0xf49a2000)
libglib-2.0.so.0 => not found
libz.so.1 => /usr/lib32/libz.so.1 (0xf4988000)
libfreetype.so.6 => not found
libgobject-2.0.so.0 => not found
libXrender.so.1 => not found
libfontconfig.so.1 => not found
libXext.so.6 => not found
libX11.so.6 => not found
libdl.so.2 => /lib32/libdl.so.2 (0xf4981000)
librt.so.1 => /lib32/librt.so.1 (0xf4978000)
/lib/ld-linux.so.2 (0xf773c000)
libglib-2.0.so.0 => not found
et sudo apt-get install ia32-libs me répond ça : (
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Aucune version du paquet ia32-libs n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source
Cependant les paquets suivants le remplacent :
lib32z1 lib32ncurses5 lib32bz2-1.0
E: Le paquet « ia32-libs » n'a pas de version susceptible d'être installée
Hors ligne