[vtk-developers] vtkCommonCorePython static build failure

David Gobbi david.gobbi at gmail.com
Thu Jun 28 09:54:49 EDT 2012


Hi David,

You attempting a static VTK build with VTK_WRAP_PYTHON?
That has never been supported.  It would be tricky to get it to work.

 - David


On Thu, Jun 28, 2012 at 7:46 AM, David Lonie <david.lonie at kitware.com> wrote:
> 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