realXtend/naali — Issue #362: linking OgreRenderingModule fails on 64bit linux
Author: antont
Created: 2012-02-16 19:51:25+00:00
State: open

didn't get this earlier, for some reason am getting now. bullet was upgraded when ran the script now.

Linking CXX shared library ../../../bin/plugins/OgreRenderingModule.so
/usr/bin/ld: /usr/lib64/libboost_thread-mt.a(thread.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libboost_thread-mt.a: could not read symbols: Bad value

iirc we've had that -fPIC thing earlier somewhere, didn't find quickly if could tell that to bullet somehow or whether it's related to cmake boost changes or what. hopefully Erno or Jukka has a clue.