[vtk-developers] VTK-5-2 python install - missing libvtkverdict.so.1.2

Thompson, David C dcthomp at sandia.gov
Sat Jun 7 14:53:32 EDT 2008


Brad King wrote:
> Darren Weber wrote:
>> 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/
>You don't have to do that.  All that does is put the libs in a place
>that the runtime linker will search.  Instead just tell the runtime
>linker how to search in "/usr/local/lib/vtk-5.2".  You can do this by
>running
>
>$ export LD_LIBRARY_PATH=/usr/local/lib/vtk-5.2:$LD_LIBRARY_PATH
>$ python
>
>This is a standard unix shared library thing.

You can also tell the linker where to look on a system-wide basis
by either editing /etc/ld.so.conf or, if your linux distro has an
/etc/ld.so.conf.d/ directory, creating a file named
/etc/ld.so.conf.d/VTK-x86_64 that contains this line:

/usr/local/lib/vtk-5.2

Be aware that if you do this, it could cause problems with other
projects that use different versions of the VTK libraries (depending
on whether the rpath option was used with these projects and the
libraries are located where the rpath specifies).

    David




More information about the vtk-developers mailing list