[vtk-developers] vtkCommonCorePython static build failure
David Lonie
david.lonie at kitware.com
Thu Jun 28 09:46:25 EDT 2012
Hi David,
Building VTK with BUILD_SHARED_LIBS off gives the following error here:
Linking CXX shared module ../../lib/vtkCommonCorePython.so
/usr/bin/ld: ../../lib/libvtkCommonCorePython27D.a(vtkAbstractArrayPython.cxx.o):
relocation R_X86_64_32 against `.rodata' can not be used when making a
shared object; recompile with -fPIC
../../lib/libvtkCommonCorePython27D.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [lib/vtkCommonCorePython.so] Error 1
make[1]: *** [Common/Core/CMakeFiles/vtkCommonCorePython.dir/all] Error 2
make: *** [all] Error 2
09:42:22: The process "/usr/bin/make" exited with code 2.
Can you reproduce this?
Thanks,
Dave
More information about the vtk-developers
mailing list