在CentOS安裝軟件的時候,可能缺乏一部分支持庫,而報錯。這裏首先安裝系統經常使用的支持庫。那麼在安裝的時候就會減小不少的錯誤的出現。 # yum install -y gcc gdb strace gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs patch e2fsprogs-devel krb5-devel libidn libidn-devel openldap-devel nss_ldap openldap-clients openldap-servers libevent-devel libevent uuid-devel uuid mysql-devel lm_sensors-libs mesa-libGL mesa-libGLU net-snmp-libs nfs-utils-lib-devel libXpm libXv libXxf86vm libcephfs1 libfontenc libgssglue-devel libgudev1 libmng libogg liboil librados2 librbd1 libtheora libunwind libvisual libvorbis