title: troubles linking boost statically to shared objet on linux
body: <p>I am using Boost 1.57.0</p>
  
  <p>I compiled it with the following command</p>
  
  <pre><code>sudo ./b2 install --prefix=/home/sumkin/boost_build cxxflags='-fPIC' link=static
  </code></pre>
  
  <p>When I compile shared library to where I want to link boost statically I got the following error</p>
  
  <pre><code>/usr/bin/ld: /home/sumkin/boost_build/lib/libboost_filesystem.a(operations.o): 
  relocation R_X86_64_32 against `.rodata.str1.1' can not 
  be used when making a shared object; recompile with -fPIC
  /home/sumkin/boost_build/lib/libboost_filesystem.a: error adding    
  symbols: Bad value
  collect2: error: ld returned 1 exit status
  make[2]: *** [libhtkernel.so] Error 1
  make[1]: *** [CMakeFiles/htkernel.dir/all] Error 2
  make: *** [all] Error 2
  </code></pre>
  
  <p>What I am doing wrong? I am on x86_64-linux-gnu.</p>