[vtkusers] problem running 'make' for VTK on Mac OS X Panther

Chris Scharver scharver at evl.uic.edu
Mon Aug 30 14:44:29 EDT 2004


On Aug 30, 2004, at 9:21 AM, Foley, Christopher wrote:

>  ld: multiple definitions of symbol _zError
>  /usr/lib/libz.1.dylib(zutil.o) definition of _zError
>  /Library/VTK/bin/libvtkzlib.a(zutil.o) definition of _zError in
>  section (__TEXT,__text)
>  ld: multiple definitions of symbol _zlibVersion
>  /usr/lib/libz.1.dylib(zutil.o) definition of _zlibVersion
>  /Library/VTK/bin/libvtkzlib.a(zutil.o) definition of _zlibVersion in
>   section (__TEXT,__text)

Make sure that you set VTK_USE_SYSTEM_ZLIB to ON. Panther includes zlib 
as part of its system library, so when VTK builds its own zlib the 
result is multiple symbols.

Chris

--
Chris Scharver
Electronic Visualization Laboratory
The University of Illinois at Chicago
Ph: 312-996-3002   FAX: 312-413-7585
<http://www.evl.uic.edu/scharver/>




More information about the vtkusers mailing list