[vtkusers] ImportError: libvtkCommonPythonD.so.5.4

Nicolas Courtiade Nicolas.Courtiade at ec-lyon.fr
Wed Apr 21 05:39:21 EDT 2010


thanks a lot!
a part of the problem is solved... The problem came because i forgot to 
export the LD_LIBRARY_PATH.
Now i can import vtk in a python shell, but not in my python IDE (i'm 
using scite) which outputs the same error as before when i try to compile.
do i have to set other environment variables to make it work? (sorry if 
my questions seems very simple, but i'm a beginner with linux)
Nicolas Courtiade a écrit :
> Hi
> here is what i get :
>
> nicolas at alkaid:~$ ldd 
> /usr/local/lib/vtk-5.4/libvtkFilteringPythonD.so.5.4
>        linux-vdso.so.1 =>  (0x00007fff08ffe000)
>        libvtkFiltering.so.5.4 => not found
>        libvtkCommonPythonD.so.5.4 => not found
>        libvtkCommon.so.5.4 => not found
>        libvtksys.so.5.4 => not found
>        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f230077f000)
>        libdl.so.2 => /lib/libdl.so.2 (0x00007f230057a000)
>        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f230026f000)
>        libm.so.6 => /lib/libm.so.6 (0x00007f22fffee000)
>        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f22ffddf000)
>        libc.so.6 => /lib/libc.so.6 (0x00007f22ffa7d000)
>        /lib64/ld-linux-x86-64.so.2 (0x00007f2300ed5000)
>
>
>
>
>
>
> Denis Barbier a écrit :
>> 2010/4/21 Nicolas Courtiade <Nicolas.Courtiade at ec-lyon.fr>:
>>  
>>> Hi
>>>
>>> i just checked in /usr/local/lib/vtk-5.4 , and i have a link of 
>>> 2.5Mb called
>>> 'libvtkCommonPythonD.so.5.4' and a file called
>>> 'libvtkCommonPythonD.so.5.4.2'.
>>> But i didn't understand what you said about LD_LIBRARY_PATH.
>>> Can the error message be caused by an incompatibility problem 
>>> between my
>>> version of Ubuntu and the 5.4.2 release of VTK?
>>>     
>>
>> Please run
>>   ldd /usr/local/lib/vtk-5.4/libvtkFilteringPythonD.so.5.4
>> and send the output.
>>
>> Denis
>>
>>   
>



More information about the vtkusers mailing list