I need to install the 32-bit version of libstdc++.so.6 on a 64 bit Ubuntu 8.04.2 server.
when i tried apt-get install ia32-libs, it says
root@devserver:~/downloads# apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
ia32-libs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 133 not upgraded.
But when i tried to enable a PHP extension (libpdf_php.so), which uses this runtime library following error is logged in php error log.
root@devserver:~/downloads# cat /var/log/apache2/php_error.log
[01-Nov-2011 16:54:09] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/libpdf_php.so' - /usr/lib/php5/20060613/libpdf_php.so: wrong ELF class: ELFCLASS32 in Unknown on line 0
root@devserver:~/downloads#
sudo apt-get install lib32stdc++6its give me o/p like :The following NEW packages will be installed: lib32stdc++6But, when I runls /usr/lib32Its not exist. Please let me know where I am wrong. Thanks. – AB Bolim Jul 22 '15 at 07:03:i386after the package name (I actually wanted the 32 bit version of libstdc++.so.5:apt-get install libstdc++5:i386) – Steven C. Howell Jan 07 '16 at 19:32