Python -fPIC

11 views
Skip to first unread message

Marwa Refaie

unread,
Feb 9, 2016, 10:42:42 AM2/9/16
to cdec users
Hello
I compile cdec successfully  , when it comes to python install i have the following error

cd~/cdec/python
python setup.py install



/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libboost_system.a(error_code.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libboost_system.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
error: command 'c++' failed with exit status 1

Any help please ??
Reply all
Reply to author
Forward
0 new messages