Ubuntu 24.04.1 LTS | Lataa ja asenna | Tutustu yhteisöön | Blogi | Yritysten tarjoamat palvelutUusimmat julkaisut: 24.04.1 LTS (suositeltu, 29.8.2024) ja 24.10 - Ubuntun 20-vuotisjulkaisu! (10.10.2024).
Höh. Virhe: Väärä järjestelmäalusta i386 Miten huiaan asennuksen vai huiaanko? 64-bittistä versiota ei tarjota.
ia32 SuiteThe Debian system dynamic library linker has been modified so that when a 32-bit application requests access to a library, Debian provides the 32-bit version of the library if it is available instead of the normal 64-bit version that the native applications require. This works if the ia32 packages which provide a sub-set of standard Debian libraries compiled in 32-bit mode have been installed.To install the ia32-libs package use the command sudo aptitude install ia32-libs. This creates a document tree in the /emul/ia32-linux directory. By default this supports only console applications, basic X applications and GTK based applications. There are no 32-bit Qt or KDE libraries provided. If you want to run a Qt application, for example Opera, you should manually download, extract and install the 32-bit Qt libraries into this document tree, see apt-file code example below.To find out what libraries are needed use the ldd command - be aware that the file you think starts the application is often a script, and you may have to dig a bit to find the actual binary. The example below is for Real's RealPlayer application, which is only available as 32-bit closed-source binary. Koodia: [Valitse]$ ldd /usr/lib/realplay-10.0.8/realplay.bin linux-gate.so.1 => (0xffffe000) libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf7ed2000) libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf7eb8000) ... many deleted lines... libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf7678000) librt.so.1 => /lib32/librt.so.1 (0xf765d000) /lib/ld-linux.so.2 (0xf7f6a000) libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf75ea000) Now all the required libraries have been found and RealPlayer should now be able to start without a problem.If a library is missing use apt-file to locate the missing package. In the example below the linker needed to link to /usr/lib/compiz/libgconf-dump.so that was not installed. Koodia: [Valitse] # Install and update apt-file $ sudo aptitude install apt-file $ sudo apt-file update # Search for the package containing the required library $ apt-file --architecture i386 search libgconf-dump.so compiz-plugins: usr/lib/compiz/libgconf-dump.so compiz-plugins: usr/lib/compiz/libgconf-dump.so compiz-plugins: usr/lib/compiz/libgconf-dump.so compiz-plugins: usr/lib/compiz/libgconf-dump.so # Download the 32-bit library you require $ wget http://ftp.uk.debian.org/debian/pool/main/c/compiz/compiz-plugins_0.2.2-1_i386.deb # Extract it into your 32-bit library tree $ sudo dpkg -X compiz-plugins_0.2.2-1_i386.deb /emul/ia32-linuxNote that some GTK applications such as RealPlayer start correctly but there is a font problem - all the glyphs are boxes rather than letters. To solve this you have to manually provide 32-bit Pango settings (from the Xara LX web site): Koodia: [Valitse]# Create a 32 bit pixbuf loaders file:$ sed 's:/usr/lib/:/usr/lib32/:' < /etc/gtk-2.0/gdk-pixbuf.loaders > /etc/gtk-2.0/gdk-pixbuf.loaders32# Create /etc/pango32/pangorc with the following in:[Pango]ModuleFiles=/etc/pango32/pango.modules[PangoX]AliasFiles=/etc/pango/pangox.aliases# Insert the following environment variables into the environment that will# start the application, e.g. a start script or you .bashrcexport GTK_PATH=/usr/lib32/gtk-2.0/export PANGO_RC_FILE=/etc/pango32/pangorcexport GDK_PIXBUF_MODULE_FILE=/etc/gtk-2.0/gdk-pixbuf.loaders32This is all that is required to run most 32-bit applications from within a 64-bit Debian system.
$ ldd /usr/lib/realplay-10.0.8/realplay.bin linux-gate.so.1 => (0xffffe000) libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf7ed2000) libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf7eb8000) ... many deleted lines... libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf7678000) librt.so.1 => /lib32/librt.so.1 (0xf765d000) /lib/ld-linux.so.2 (0xf7f6a000) libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf75ea000)
# Install and update apt-file $ sudo aptitude install apt-file $ sudo apt-file update # Search for the package containing the required library $ apt-file --architecture i386 search libgconf-dump.so compiz-plugins: usr/lib/compiz/libgconf-dump.so compiz-plugins: usr/lib/compiz/libgconf-dump.so compiz-plugins: usr/lib/compiz/libgconf-dump.so compiz-plugins: usr/lib/compiz/libgconf-dump.so # Download the 32-bit library you require $ wget http://ftp.uk.debian.org/debian/pool/main/c/compiz/compiz-plugins_0.2.2-1_i386.deb # Extract it into your 32-bit library tree $ sudo dpkg -X compiz-plugins_0.2.2-1_i386.deb /emul/ia32-linux
# Create a 32 bit pixbuf loaders file:$ sed 's:/usr/lib/:/usr/lib32/:' < /etc/gtk-2.0/gdk-pixbuf.loaders > /etc/gtk-2.0/gdk-pixbuf.loaders32# Create /etc/pango32/pangorc with the following in:[Pango]ModuleFiles=/etc/pango32/pango.modules[PangoX]AliasFiles=/etc/pango/pangox.aliases# Insert the following environment variables into the environment that will# start the application, e.g. a start script or you .bashrcexport GTK_PATH=/usr/lib32/gtk-2.0/export PANGO_RC_FILE=/etc/pango32/pangorcexport GDK_PIXBUF_MODULE_FILE=/etc/gtk-2.0/gdk-pixbuf.loaders32