SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] HDF5: sz lib issues (I think)


Chronological Thread 
  • From: Paulo Tribolet Abreu <paulotex@ist.utl.pt>
  • To: scirun-users@sci.utah.edu
  • Subject: [SCIRUN-USERS] HDF5: sz lib issues (I think)
  • Date: Wed, 21 Jul 2004 14:47:30 +0100

Hi:

I'm still trying to compile SCRun 1.22 on MacOSX 10.3.4. Thanks to help from this list, I've advanced a lot, however I found another problem:

While compiling I get this error:

g++ -L/Volumes/Local/Users/paulo/trab/GoLP/SCIRun-1.22/Thirdparty_osx- bin.1.22.04//lib -L/Volumes/Local/Users/paulo/trab/GoLP/SCIRun-1.22/Thirdparty_osx- bin.1.22.04//lib -L/Volumes/Local/Users/paulo/lib -L/sw/lib -Llib -I/Volumes/Local/Users/paulo/include -I/sw/include -I/Volumes/Local/Users/paulo/include -I/sw/include -O2 -fno-common -dynamic -fcoalesce-templates -Wno-long-double -I/Volumes/Local/Users/paulo/include -I/sw/include -dynamiclib -Llib -I/Volumes/Local/Users/paulo/include -I/sw/include -O2 -fno-common -dynamic -fcoalesce-templates -Wno-long-double -I/Volumes/Local/Users/paulo/include -I/sw/include -install_name /Volumes/Local/Users/paulo/trab/GoLP/SCIRun-1.22/SCIRun/build/lib/ libPackages_DataIO_Dataflow_Modules_Readers.dylib -o lib/libPackages_DataIO_Dataflow_Modules_Readers.dylib Packages/DataIO/Dataflow/Modules/Readers/MDSPlusDataReader.o Packages/DataIO/Dataflow/Modules/Readers/MDSPlusFieldReader.o Packages/DataIO/Dataflow/Modules/Readers/HDF5DataReader.o Packages/DataIO/Dataflow/Modules/Readers/HDF5Dump.o lib/libCore_Datatypes.dylib lib/libDataflow_Network.dylib lib/libDataflow_Ports.dylib lib/libCore_Persistent.dylib lib/libCore_Containers.dylib lib/libCore_Util.dylib lib/libCore_Exceptions.dylib lib/libCore_Thread.dylib lib/libCore_GuiInterface.dylib lib/libCore_Geom.dylib lib/libCore_Geometry.dylib lib/libCore_TkExtensions.dylib lib/libCore_Malloc.dylib lib/libCore_GeomInterface.dylib lib/libPackages_DataIO_Core_ThirdParty.dylib lib/libPackages_Teem_Core_Datatypes.dylib -ltk -ltcl -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -L/usr/X11R6/lib -L/usr/X11R6/lib -lGLU -lGL -L/usr/X11R6/lib -L/usr/X11R6/lib -lX11 -lXext -lXaw -lXi -lXt -lXmu -lm -lteem -lpng -lz -lz -lm -lpng -lz -lz -lhdf5

[removed multiple definitions warnings]

ld: Undefined symbols:
_SZ_BufftoBuffCompress
_SZ_BufftoBuffDecompress
make: *** [lib/libPackages_DataIO_Dataflow_Modules_Readers.dylib] Error 1

My guess is that make is failing to include -lsz. My HDF5 is using -lsz, and I couldn't find it on this build command. In fact, if I do the same command by hand, and add -lsz, I get:

paulomac:[build]> g++ -L/Volumes/Local/Users/paulo/trab/GoLP/SCIRun-1.22/Thirdparty_osx- bin.1.22.04//lib -L/Volumes/Local/Users/paulo/trab/GoLP/SCIRun-1.22/Thirdparty_osx- bin.1.22.04//lib -L/Volumes/Local/Users/paulo/lib -L/sw/lib -Llib -I/Volumes/Local/Users/paulo/include -I/sw/include -I/Volumes/Local/Users/paulo/include -I/sw/include -O2 -fno-common -dynamic -fcoalesce-templates -Wno-long-double -I/Volumes/Local/Users/paulo/include -I/sw/include -dynamiclib -Llib -I/Volumes/Local/Users/paulo/include -I/sw/include -O2 -fno-common -dynamic -fcoalesce-templates -Wno-long-double -I/Volumes/Local/Users/paulo/include -I/sw/include -install_name /Volumes/Local/Users/paulo/trab/GoLP/SCIRun-1.22/SCIRun/build/lib/ libPackages_DataIO_Dataflow_Modules_Readers.dylib -o lib/libPackages_DataIO_Dataflow_Modules_Readers.dylib Packages/DataIO/Dataflow/Modules/Readers/MDSPlusDataReader.o Packages/DataIO/Dataflow/Modules/Readers/MDSPlusFieldReader.o Packages/DataIO/Dataflow/Modules/Readers/HDF5DataReader.o Packages/DataIO/Dataflow/Modules/Readers/HDF5Dump.o lib/libCore_Datatypes.dylib lib/libDataflow_Network.dylib lib/libDataflow_Ports.dylib lib/libCore_Persistent.dylib lib/libCore_Containers.dylib lib/libCore_Util.dylib lib/libCore_Exceptions.dylib lib/libCore_Thread.dylib lib/libCore_GuiInterface.dylib lib/libCore_Geom.dylib lib/libCore_Geometry.dylib lib/libCore_TkExtensions.dylib lib/libCore_Malloc.dylib lib/libCore_GeomInterface.dylib lib/libPackages_DataIO_Core_ThirdParty.dylib lib/libPackages_Teem_Core_Datatypes.dylib -ltk -ltcl -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -L/usr/X11R6/lib -L/usr/X11R6/lib -lGLU -lGL -L/usr/X11R6/lib -L/usr/X11R6/lib -lX11 -lXext -lXaw -lXi -lXt -lXmu -lm -lteem -lpng -lz -lz -lm -lpng -lz -lz -L/usr/local/lib -L/usr/local/lib -lhdf5 -lsz
ld: warning multiple definitions of symbol _Tcl_CreateFileHandler
lib/libCore_TkExtensions.dylib(tclUnixNotify-8.3.o) definition of _Tcl_CreateFileHandler
/Volumes/Local/Users/paulo/trab/GoLP/SCIRun-1.22/Thirdparty_osx- bin.1.22.04//lib/libtcl.dylib(tclUnixNotfy.o) definition of _Tcl_CreateFileHandler/usr/bin/libtool: internal link edit command failed

[removed multiple definitions warnings]

ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
/usr/local/lib/libsz.a(rice.o) definition of common _szip_output_buffer_full (size 4)

which looks more promising. I don't think it compiled correctly, it looks like there is some incompatibility between MH_DYLIB and the -multi_module.

Should I compile hfd5 without sz support, or is there an easy way around this?

Thanks,

Paulo

===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================




  • [SCIRUN-USERS] HDF5: sz lib issues (I think), Paulo Tribolet Abreu, 07/21/2004

Archive powered by MHonArc 2.6.16.

Top of page