[Insight-users] WrapITK can't find libitkvnl.dylib.2.8

Jane Asmuth jasmuth at seas.upenn.edu
Thu Jun 29 00:18:45 EDT 2006


I've built and installed WrapITK successfully, but am having trouble  
with getting things to work at runtime (python).

It appears that libitkvnl.dylib.2.8 can't be found, but it does exist  
(in directory /usr/local/lib/InsightToolkit) -  and I've added this  
directory to my PATH env variable.

My platform is Mac OS X.

Any ideas for what could be going wrong?

 >>> import itk
 >>> itk.Image[itk.F,2]
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "/usr/local/lib/InsightToolkit/WrapITK/Python/itkLazy.py",  
line 18, in __getattribute__
     itkBase.LoadModule(module, namespace)
   File "/usr/local/lib/InsightToolkit/WrapITK/Python/itkBase.py",  
line 77, in LoadModule
     LoadModule(dep, namespace)
   File "/usr/local/lib/InsightToolkit/WrapITK/Python/itkBase.py",  
line 85, in LoadModule
     if not swigModuleName in sys.modules: module = loader.load 
(swigModuleName)
   File "/usr/local/lib/InsightToolkit/WrapITK/Python/itkBase.py",  
line 188, in load
     return imp.load_module(name, fp, pathname, description)
   File "/usr/local/lib/InsightToolkit/WrapITK/lib/ 
VXLNumericsPython.py", line 5, in ?
     import _VXLNumericsPython
ImportError: Failure linking new module: /usr/local/lib/ 
InsightToolkit/WrapITK/lib/_VXLNumericsPython.so: Library not loaded:  
libitkvnl.dylib.2.8
   Referenced from: /usr/local/lib/InsightToolkit/WrapITK/lib/ 
_VXLNumericsPython.so
   Reason: image not found


Thanks for any suggestions.


More information about the Insight-users mailing list