You can check-out an older pre-mid-January version.
Or, if feeling brave, try building a newer gcc from source.
hello, khotilov, thank you , i have installed older pre-mid-January version using gcc 4.4.7
You can download the appropriate RPMs for devtoolset, extract the RPM manually, set up the PATH and LD_LIBRARY_PATH environment variables properly. Then you can use a newer GCC to compile it.
Try:
prepare a centos 6.7 vm
install newer gcc
build xgboost with -static-libstdc++
then you get a portable libxgboost.so
Most helpful comment
Try:
prepare a centos 6.7 vm
install newer gcc
build xgboost with -static-libstdc++
then you get a portable libxgboost.so