[vtkusers] Installation location on Mac

Darren Dale dsdale24 at gmail.com
Fri Nov 20 13:59:05 EST 2009


Hello,

I am new to the mailing list, working on installing VTK on mac Snow
Leopard, in order to use MayaVi. After running "make install", I got
an error:

ImportError: dlopen(/Library/Python/2.6/site-packages/VTK-5.4.2-py2.6.egg/vtk/libvtkCommonPython.so,
10): Library not loaded: libvtkCommonPythonD.5.4.dylib
  Referenced from:
/Library/Python/2.6/site-packages/VTK-5.4.2-py2.6.egg/vtk/libvtkCommonPython.so
  Reason: image not found

I think the reason for this is that /usr/local/lib/vtk-5.4 would need
to be listed in . I didn't see this discussed in the vtk python
installation documentation (I may have missed it). But I wanted to ask
if it would be possible for future versions of vtk to simply install
the .dylibs into /usr/local/lib instead of /usr/local/lib/vtk-5.4. It
would simplify the installation process and make the python packages a
little more accessible. In my case I just moved the the libs out of
vtk-5.4 and into local/lib, instead of setting DYLD_LIBRARY_PATH, and
am able to use the python package.

Thanks,
Darren



More information about the vtkusers mailing list