Hello,<br>you have to rebuild your python with the -fPIC option.<br>Before making ./configure you have to set CPPFLAGS to "-fPIC".<br>For example,<br>export CPPFLAGS="-fPIC"<br>./configure ...<br>make<br>
make install<br><br>Regards,<br>Didier<br><br><div class="gmail_quote">2010/3/22 Hom Nath Gharti <span dir="ltr"><<a href="mailto:hng.email@gmail.com">hng.email@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear all,<br>
<br>
I have 8-core machine with CentOS 5. I am trying to install CVS<br>
version fo ParaView with following cmake variables<br>
<br>
BUILD_SHARED_LIBS ON<br>
PARAVIEW_USE_MPI ON<br>
PARAVIEW_ENABLE_PYTHON ON<br>
<br>
During make I get the following error:<br>
<br>
/usr/bin/ld: /usr/local/lib/libpython2.6.a(abstract.o): relocation<br>
R_X86_64_32 against `a local symbol' can not be used when making a<br>
shared object; recompile with -fPIC<br>
/usr/local/lib/libpython2.6.a: could not read symbols: Bad value<br>
<br>
<br>
I have python-2.6.4 ad qt-4.6.2.<br>
<br>
Any help/suggestions would greatly be appreciated.<br>
<br>
Thanks,<br>
Hom Nath<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br>