[vtk-developers] VTK-5-2 python install - missing libvtkverdict.so.1.2
Darren Weber
darren.weber.lists at gmail.com
Sat Jun 7 00:00:22 EDT 2008
I forgot to mention that I'm running an amd64 version of Ubuntu 7.04. I
found a fix, but it seems like a nasty hack:
sudo -i
cp -r -d /usr/local/lib/vtk-5.2/* /usr/lib/
root at skiweber:/usr/src/kitware# python
Python 2.5.1 (r251:54863, Mar 7 2008, 03:39:23)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import vtk
>>> v=vtk.vtkVersion()
>>> print v.GetVTKSourceVersion()
vtk version 5.2.0, vtk source $Revision: 1.3093 $, $Date: 2008-04-21
01:00:15 $ (GMT)
>>>
Seems to be working now. What is the best way to test it all?
Regards, Darren
On Fri, Jun 6, 2008 at 8:15 PM, Darren Weber <darren.weber.lists at gmail.com>
wrote:
>
> I'm running linux Ubuntu 7.04 and I've done a cvs checkout of VTK-5-2. I
> ran CMake to build it with python wrapping and the build went into
> /usr/src/kitware/VTKBuild/. The build appeared to be a success, so I then:
>
> sudo -i
> cd /usr/src/kitware/VTKBuild/Wrapping/Python/
> easy_install dist/VTK-5.2.0-py2.5.egg
>
> dweber at skiweber:~$ python
> Python 2.5.1 (r251:54863, Mar 7 2008, 03:39:23)
> [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import vtk
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File
> "/usr/local/lib/python2.5/site-packages/VTK-5.2.0-py2.5.egg/vtk/__init__.py",
> line 40, in <module>
> from graphics import *
> File
> "/usr/local/lib/python2.5/site-packages/VTK-5.2.0-py2.5.egg/vtk/graphics.py",
> line 7, in <module>
> from libvtkGraphicsPython import *
> ImportError: libvtkverdict.so.1.2: cannot open shared object file: No such
> file or directory
> >>>
>
> Also, there is no response from:
>
> locate libvtkverdict.so.1.2
> locate libvtkverdict.so
> locate libvtkverdict
>
> What's the fix for this one?
>
> Thanks, Darren
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20080606/af70e596/attachment.html>
More information about the vtk-developers
mailing list