[vtk-developers] vtkCommonCorePython static build failure
David Gobbi
david.gobbi at gmail.com
Thu Jun 28 10:26:40 EDT 2012
On Thu, Jun 28, 2012 at 8:23 AM, David Lonie <david.lonie at kitware.com> wrote:
> On Thu, Jun 28, 2012 at 10:01 AM, David Gobbi <david.gobbi at gmail.com> wrote:
>> On Thu, Jun 28, 2012 at 7:57 AM, David Lonie <david.lonie at kitware.com> wrote:
>>> Ah, ok -- nevermind then :-)
>>
>> It never hurts to try, though... you can add "-fPIC" to your CXXFLAGS and
>> rebuild VTK, and then if the modules are loaded into python in the right order
>> it just might work... I think that vtk-python still loads its modules with
>> RTLD_GLOBAL so it might be able to resolve symbols directly between the
>> python modules instead of requiring shared libraries.
>
> Success! Adding -fPIC to CFLAGS and CXXFLAGS is all that was needed
> for it to build.
Yes, it will build, but I'm curious about whether you can "import vtk"
from python without it complaining about missing symbols. Can you
try, just to satisfy my curiosity?
- David
More information about the vtk-developers
mailing list