cc -c -I/usr/local/xunsearch/include/ test.cpp
cc test.o -L/usr/local/xunsearch/lib -lscws -lm -o test
/libuuid.a(gen_uuid.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
http://stackoverflow.com/questions/629961/how-can-i-set-ccshared-fpic-while-executing-configure