[Paraview] [PARAVIEW INSTALLATION]_undefined reference to 'gzopen' 'gzclose' 'gzread' 'gzwrite'

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Apr 6 09:43:05 EDT 2015


I am not seeing this on my Ubuntu 14.04. Mind attaching your
CMakeCache.txt? Thanks.

On Sun, Apr 5, 2015 at 8:38 AM, Ofosu Ampadu Joseph
<joseph at al.t.u-tokyo.ac.jp> wrote:
> Hello,
>
> I am new to Paraview and I am now making a fresh installation on a ubuntu
> 14.04 LTS platform. However after about 50% building with the command "make"
> I get the following error:
>
> Linking CXX shared library ../../../../../lib/libvtkxdmf2-pv4.3.so
> CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function `gzstreambuf::open(char
> const*, int)':
> /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:63:
> undefined reference to `gzopen'
> CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function `gzstreambuf::close()':
> /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:75:
> undefined reference to `gzclose'
> CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function
> `gzstreambuf::underflow()':
> /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:94:
> undefined reference to `gzread'
> CMakeFiles/vtkxdmf2.dir/gzstream.cxx.o: In function
> `gzstreambuf::flush_buffer()':
> /home/ofosu/ParaView-v4.3.1-source/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/gzstream.cxx:112:
> undefined reference to `gzwrite'
> collect2: error: ld returned 1 exit status
> make[2]: *** [lib/libvtkxdmf2-pv4.3.so.1] Error 1
> make[1]: ***
> [VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeFiles/vtkxdmf2.dir/all] Error 2
> make: *** [all] Error 2
>
> Meanwhile, I have both gzstream.h and zlib.h header files in my include
> directory and I still encounter this problem.
>
> I would be very grateful if someone could advice me on how to proceed.
> Thanks!!!!
>
> --
> Ofosu Joseph Ampadu
> The University of Tokyo
> Graduate School of Frontier Sciences
> Advanced Energy Department
> Komurasaki Laboratory
> joseph at al.t.u-tokyo.ac.jp
> [+818044652407]
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>


More information about the ParaView mailing list