Problems linking with ASIO serialization
vicentebolea opened this issue · 1 comments
vicentebolea commented
@nammh and I found that in some of our servers Eclipse does not compile since it can not find the boost libraries.
For GCC you must specify in LIBRARY_PATH the location of the the libraries, normally writing in your .bashrc the next line will make the trick:
export LIBRARY_PATH=/usr/local/lib
As for Clang++ compiler, things are a bit harder since it does not read LIBRARY_PATH. In that case, write in your .bashrc:
export CONFIG_SITE="~/.clang_fix"
Then create that ~/.clang_fix file and write inside:
#!/bin/bash
export LDFLAGS+="-L/usr/local/lib"
vicentebolea commented
Created wiki page with this issue, https://github.com/DICL/Eclipse2/wiki/FAQ