message: fix(make): use rpath to auto-load shared library log4cplus
diff: @@ -51,7 +51,7 @@ EXEFLAG = -O2 -pthread -std=c++11
  # library = -lreadline -L./lib -L/usr/local/lib -lantlr -lgcov -lboost_thread -lboost_filesystem -lboost_system -lboost_regex -lpthread -I/usr/local/include/boost -lcurl
  #library = -lreadline -L./lib -L/usr/local/lib -L/usr/lib/ -L./workflow-nossl/_lib -L./workflow-nossl/_include -lantlr4-runtime -lgcov -lboost_thread -lboost_filesystem -lboost_system -lboost_regex -lpthread -I/usr/local/include/boost -lcurl -lworkflow -llog4cplus
  #library = -lreadline -L./lib -L/usr/local/lib -L/usr/lib/ -L./tools/workflow-master/_lib -L./tools/workflow-master/_include -lantlr4-runtime -lgcov -lboost_thread -lboost_filesystem -lboost_system -lboost_regex -lpthread -I/usr/local/include/boost -lcurl -llog4cplus -lworkflow
  -library = -lreadline -L./lib -L/usr/local/lib -L/usr/lib/ -lantlr4-runtime -lgcov -lboost_thread -lboost_filesystem -lboost_system -lboost_regex -lpthread -I/usr/local/include/boost -lcurl -llog4cplus
  +library = -lreadline -L./lib -L/usr/local/lib -L/usr/lib/ -lantlr4-runtime -lgcov -lboost_thread -lboost_filesystem -lboost_system -lboost_regex -lpthread -I/usr/local/include/boost -lcurl -llog4cplus -Wl,-rpath='/usr/local/lib'
  #used for parallelsort
  openmp = -fopenmp -march=native
  # library = -ltermcap -lreadline -L./lib -lantlr -lgcov
  @@ -625,14 +625,13 @@ pre:
  rm -rf tools/rapidjson/
  cd tools; tar -xzvf rapidjson.tar.gz;
  cd tools; tar -xzvf antlr4-cpp-runtime-4.tar.gz;
  - cd tools; tar -xvf log4cplus-1.2.0.tar;cd log4cplus-1.2.0;./configure;make;sudo make install;
  + cd tools; tar -xvf log4cplus-1.2.0.tar;cd log4cplus-1.2.0;./configure;make;make install;
  # cd ../../;
  #cd tools;unzip -o workflow-master.zip;cd workflow-master;make;
  #cd tools;unzip -o srpc.zip; cd srpc;make;make install;
  cd tools/antlr4-cpp-runtime-4/; cmake .; make; cp dist/libantlr4-runtime.a ../../lib/;
  -
  $(api_cpp): $(objdir)Socket.o
  $(MAKE) -C api/socket/cpp/src
  $(MAKE) -C api/http/cpp/
  