系统:RHEL6.4
libxcb依赖xcb-proto。
xcb-proto(libxcb的依赖包):https://xcb.freedesktop.org/dist/xcb-proto-1.12.tar.gz
libxcb:https://xcb.freedesktop.org/dist/libxcb-1.12.tar.gz
环境变量:
exportPKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/xcb-proto-1.12/lib/pkgconfig
exportLD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/libxcb-1.12/lib
重启,使环境变量生效
# reboot