#1 Le 09/10/2012, à 15:42
[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 directoryJ'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.6Alors 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: ELFCLASS64Qu'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
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
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
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
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 foundQu'est-ce qu'il faut qu'je fais (en plus d'apprendre le subjonctif) ?
Hors ligne
#6 Le 13/10/2012, à 15:53
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-libsHors ligne
#7 Le 15/10/2012, à 10:35
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
Pages : 1
- Accueil
- » Forum
- » Installation de logiciels et changements de version
- » [Résolu] error while loading shared libs 32b/64b