On Mar 3, 2014, at 5:37 PM, Koteswara Rao Ruvva <ruvva@yahoo.com> wrote:

Thanks Matthieu.

As I mentioned I used the -fPIC option while building the static boost libraries as shown below:

./bjam debug link=static cxxflags="-fPIC -std=c++0x" stage

But didn't help. Still getting the same error message.

You need to use the -fPIC option when building your code also. Any object files that are to be placed into a static library for the x86_64 architecture must be compiled using position-independent code. 

Jason