Je voudrais installer des bibliothèques 32 bits pour exécuter du code lié dynamiquement sur le système d'exploitation Ubuntu 14.04.2 LTS.
J'ai essayé deux commandes, aucune ne fonctionne :
Commande n° 1 :
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
lib32bz2-1.0 : PreDepends: libc6-i386 (>= 2.9-18) but it is not going to be installed
lib32ncurses5 : Depends: lib32tinfo5 (= 5.9+20140118-1ubuntu1) but it is not going to be installed
Depends: libc6-i386 (>= 2.4) but it is not going to be installed
lib32z1 : Depends: libc6-i386 (>= 2.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Commandement n°2 :
sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0
E: Package 'ia32-libs' has no installation candidate
Quelle est la commande appropriée pour installer les bibliothèques 32 bits ?
En regardant dans d'autres posts, les gens disent d'exécuter les commandes Shell ci-dessus pour corriger l'erreur, mais pour moi la commandes ne fonctionnent pas.
J'ai aussi exécuté
sudo dpkg --add-architecture i386
puisque d'autres posts recommandaient de l'exécuter. Cela ne semble pas aider non plus. Quand on essaie d'exécuter un fichier :
./vsim
Je reçois l'erreur
bash: ./vsim: No such file or directory
bien que le fichier "vsim" existe :
vsim: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.4, BuildID[sha1]=31fa816092d910bb32b64ed8ea2a5baa1da6b005, stripped