我的实践:
在centos6.7 X64位机器上:
yum install xulrunner.i686
yum install libXtst.i686
下面是一些网络搜索到的资料:
项目中,实现嵌入式设备开发,后台应用开发,均采用C/C++语言,基于Linux的开发;所不同的是,嵌入式平台采用32位Linux系统,应用服务程序采用64位Linux系统。开发过程需要将两种开发环境,在同一台物理机上实现。
嵌入式开发环境构建时,安装的交叉编译环境,需要32位的开发库。本文中,提供一种在线安装方法(需要root用户权限进行):
$sudo yum install xulrunner.i686
$sudo yum install libXtst.i686
如果采用ubuntu环境,执行如下命令(同样需要root用户权限):
1. sudo apt-get update
2.sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
Linux的有些软件需要32位运行库才能运行,如Dr.com客户端等
yum在线安装:
sudo yum install xulrunner.i686
或者: sudo yum install ia32-libs.i686
ubuntu下: sudo apt-get install ia32-libs
PS:可以查看一下当前源库里有没有ia32-libs: yum list|grep ia32-libs
centos 安装ia32-libs
# yum install alsa-lib-devel.i686 alsa-lib-devel audiofile-devel.i686 audiofile-devel cups-devel.i686 cups-devel dbus-devel.i686 dbus-devel fontconfig-devel.i686 fontconfig-devel freetype.i686 freetype-devel.i686 freetype-devel giflib-devel.i686 giflib-devel lcms-devel.i686 lcms-devel libICE-devel.i686 libICE-devel libjpeg-turbo-devel.i686 libjpeg-turbo-devel libpng-devel.i686 libpng-devel libSM-devel.i686 libSM-devel libusb-devel.i686 libusb-devel libX11-devel.i686 libX11-devel libXau-devel.i686 libXau-devel libXcomposite-devel.i686 libXcomposite-devel libXcursor-devel.i686 libXcursor-devel libXext-devel.i686 libXext-devel libXi-devel.i686 libXi-devel libXinerama-devel.i686 libXinerama-devel libxml2-devel.i686 libxml2-devel libXrandr-devel.i686 libXrandr-devel libXrender-devel.i686 libXrender-devel libxslt-devel.i686 libxslt-devel libXt-devel.i686 libXt-devel libXv-devel.i686 libXv-devel libXxf86vm-devel.i686 libXxf86vm-devel mesa-libGL-devel.i686 mesa-libGL-devel mesa-libGLU-devel.i686 mesa-libGLU-devel ncurses-devel.i686 ncurses-devel openldap-devel.i686 openldap-devel openssl-devel.i686 openssl-devel zlib-devel.i686 pkgconfig sane-backends-devel.i686 sane-backends-devel xorg-x11-proto-devel glibc-devel.i686 prelink fontforge flex bison libstdc++-devel.i686 pulseaudio-libs-devel.i686 gnutls-devel.i686 libgphoto2-devel.i686 openal-soft-devel openal-soft-devel.i686 isdn4k-utils-devel.i686 gsm-devel.i686 samba-winbind libv4l-devel.i686 cups-devel.i686 libtiff-devel.i686 gstreamer-devel.i686 gstreamer-plugins-base-devel.i686 gettext-devel.i686 libmpg123-devel.i686