我需要在64位Ubuntu 8.04.2服务器上安装32位版本的libstdc ++。so.6。
当我尝试时apt-get install ia32-libs
,它说
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.
但是,当我尝试启用PHP扩展(libpdf_php.so)时,该扩展使用此运行时库在php错误日志中记录了以下错误。
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#