glib安装

https://www.cnblogs.com/pcat/p/5520317.html

.tar.gz 格式解压为 tar -zxvf xx.tar.gz
.tar.bz2 格式解压为 tar -jxvf xx.tar.bz2

yum -y install xz
tar.xz
$xz -d ***.tar.xz
$tar -xvf ***.tar

yum install wget
yum install gcc gcc-c++
yum install gettext

glib:
wget http://ftp.acc.umu.se/pub/GNOME/sources/glib/2.48/glib-2.48.2.tar.xz

zlib:
wget http://www.zlib.net/zlib-1.2.11.tar.gz

libffi:
wget ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz
yum install libffi-devel

pkg-config:
wget http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz

libpcre:
http://sourceware.org/libffi/

保存 /lib64/libpcre.so.0
删除 rpm -e --nodeps pcre
ln -s /usr/local/lib/libpcre.so.1 /lib64
ln -s /usr/local/lib/libpcreposix.so.0 /lib64

你可能感兴趣的:(linux)