Boost logo

Boost :

Subject: [boost] recompile with -fPIC
From: Marwa Refaie (basmallah_at_[hidden])
Date: 2016-02-09 16:30:07

I try to compile "cdec" translation package , I been stuck in this error :

/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 'g++' failed with exit status 1______________________________________________________________________________
I red solution like bjam boost without debug or specifiy -fPIC !!! Any help to apply any solution ??
How should I fix plz ??

Marwa N. Refaie


Boost list run by bdawes at, gregod at, cpdaniel at, john at