[vtkusers] GCC problems with IO: "undefined symbol: jpeg_std_error'

f f gray_java at hotmail.com
Fri Mar 1 12:40:38 EST 2002


here's what i get from an ldd on libvtkIOPython.so:

        libvtkFilteringPython.so => 
/home/datatmp/VTK/bin/libvtkFilteringPython.so (0x40325000)
        libvtkCommonPython.so => /home/datatmp/VTK/bin/libvtkCommonPython.so 
(0x403ed000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x407f0000)
        libdl.so.2 => /lib/libdl.so.2 (0x40807000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 
(0x4080b000)
        libm.so.6 => /lib/libm.so.6 (0x40854000)
        libc.so.6 => /lib/libc.so.6 (0x40877000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

so it looks like it isn't linked to libvtkjpeg or libvtkpng. which btw i 
only have in '.a' format in the /bin directory

I ran a clean on the IO stuff and recompiled it (and of course it redid 
anything associated with it) and I still have the same problems as before; 
the Python IO shared library is still messed up and I have no 'vtk' 
executable in either /bin.

>From: Prabhu Ramachandran <prabhu at aero.iitm.ernet.in>
>Reply-To: Prabhu Ramachandran <prabhu at cyberwaveindia.com>
>To: "f f" <gray_java at hotmail.com>, VTK users list 
><vtkusers at public.kitware.com>
>Subject: [vtkusers] GCC problems with IO: "undefined symbol: 
>jpeg_std_error'
>Date: Fri, 1 Mar 2002 18:53:03 +0530
>
> >>>>> "ff" == "f f" <gray_java at hotmail.com> writes:
>
>     ff> hi, I installed VTK and turned on the Python wrapping. Now
>     ff> when I import libvtkIOPython I get an undefined symbol error
>     ff> for jpeg_std_error. Doing a 'nm' on the .so file gives me a
>     ff> bunch of undefined symbols, mostly starting with jpeg_ or
>     ff> png_. It sounds similar to a problem (
>     ff> 
>http://public.kitware.com/pipermail/vtkusers/2002-January/008994.html
>     ff> ) someone was having with Borland Builder before, but this is
>     ff> in GCC.
>
>This is strange.  Could you do an ldd on the files and see what they
>are linked to?  The jpeg_* and png_* symbols should be in the
>libvtkpng.so and libvtkjpeg.so libraries.  The fact that the names are
>undefined in libvtkIOPython is really not the problem.
>
>prabhu
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com




More information about the vtkusers mailing list