[vtkusers] Python VTK import errors (since upgrade to Ubuntu 8.04)

Hans-Uwe Rempler rempler at mechbau.uni-stuttgart.de
Fri Aug 15 05:41:33 EDT 2008


Mathieu,

thank you very very much, you're my personal hero now! Especially
because you can read command line output, which i - seems to be - not
can ;)

Am Freitag, den 15.08.2008, 10:49 +0200 schrieb Mathieu Malaterre:
> Hans,
> 
> Come'on !
> 
> On Fri, Aug 15, 2008 at 9:48 AM, Hans-Uwe Rempler
> <rempler at mechbau.uni-stuttgart.de> wrote:
> 
> > This seems to be the case:
> > ---
> > % ldd /usr/lib/libvtkFilteringPythonD.so.5.0
> >        linux-gate.so.1 =>  (0xb7f51000)
> >        libvtkFiltering.so.5.0 => /auto/opt/acis_v14.1/libs/libvtkFiltering.so.5.0 (0xb7b39000)
> >        libvtkCommonPythonD.so.5.0 => /usr/lib/libvtkCommonPythonD.so.5.0 (0xb7a13000)
> >        libvtkCommon.so.5.0 => /auto/opt/acis_v14.1/libs/libvtkCommon.so.5.0 (0xb787d000)
> >        libvtksys.so.5.0 => /auto/opt/acis_v14.1/libs/libvtksys.so.5.0 (0xb7850000)
> >        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7838000)
> >        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7834000)
> >        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7741000)
> >        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb771b000)
> >        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7710000)
> >        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb75c1000)
> >        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7507000)
> >        /lib/ld-linux.so.2 (0xb7f52000)
> 
> I specifically said:  '/usr/lib/libvtkFiltering.so.5.0' and NOT
> '/my/other/exotic/path/to/libvtkFiltering.so.5.0'
> 

Damn it, i'm sorry (thank good it's Friday :)

> I think that '/auto/opt/acis_v14.1/libs/' is *very* exotic. Two things:
> 1. You did not install python-vtk package as expected (can't tell I am
> on debian machine)
> 2. You have been messing around with your LD_LIBRARY_PATH.
> 
> Anyway if you know what you are doing, you can simply augment your pythonpath:
> 
>   export PYTHONPATH=$PYTOHNPATH: /auto/opt/acis_v14.1/libs/
> 
> If you pick this option, do not touch anything to your LD_LIBRARY_PATH
> it will need to contain this exotic path too.
> 
> >
> > As far as i can remember i didn't change anything on the system
> > configuration concerning VTK or Python...
> > Do you think this is maybe a general problem which i have to contact the
> > package maintainer for support (btw, does anybody have his direct e-mail
> > address or do i have to mail to "Ubuntu MOTU Developers
> 
> unspamify( <ubuntu-motu lists.ubuntu.com> )
> 
> I do not think this is the right way of getting attention. On debian,
> you either do not know if you are doing anything wrong, then send a
> mail to the debian-users ML. I you know you are doing everything
> right, you do 'reportbug' (you need to install that thing on your
> system, and possibly a sendmail client too).
> 
> > Am i really the only one who runs into problems while using VTK in combination with Python under Ubuntu v8.04 ???
> 
> ?

Shame on me... the problem was very simple: an optional installed
program (= cubit, which is using VTK) placed a configuration file
in /etc/ld.so.conf.d/ overriding the global installed libraries :(


Thank you again for the help,
Uwe





More information about the vtkusers mailing list