[vtkusers] VTK-6.2.0 compilation problems in Debian 7

Leonid Dulman leonid_dulman at yahoo.co.uk
Fri Mar 6 14:18:32 EST 2015


I tried to build VTK-6.2.0 in Debian 7.2 and have got next error
Linking CXX shared library ../../lib/libvtkWrappingPython27Core-6.2.so
/usr/bin/ld: /usr/local/lib/python2.7/config/libpython2.7.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/python2.7/config/libpython2.7.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libvtkWrappingPython27Core-6.2.so.1] Error 1
make[1]: *** [Wrapping/PythonCore/CMakeFiles/vtkWrappingPythonCore.dir/all] Error 2
make: *** [all] Error 2
 I include -fPIC into linked flags, but no solved the problem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150306/e6f3182e/attachment.html>


More information about the vtkusers mailing list