NOTE: The netcdf-hdf
mailing list is no longer active. The list archives are made available for historical reasons.
Hi Ed,Please check that HL library was built without problems and that H5DSset_scale is indeed there. Then try to disable shared libraries and see if it helps ( --disable-shared configure flag)
Elena At 09:17 AM 9/22/2005, Ed Hartnett wrote:
Howdy HDF5ers! I am trying to get my latest release up and running on a SUNOS system. I have cvs updated hdf5 on that machine, and build hdf5 with: ./configure && make install But when I compile one of my test programs, I get a link error: ld.so.1: tst_h_dimscales: fatal: relocation error: file tst_h_dimscales: symbol H5DSset_scale: referenced symbol not found I've tried changing the order of the -lhdf5 and -lhdf5_hl (I believe the _hl one should be first), but it fails both ways: bash-3.00$ make tst_h_dimscales source='tst_h_dimscales.c' object='tst_h_dimscales.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ../depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -I/home/ed/local/SUNOS/hdf5/hdf5/include -I/home/ed/local/SUNOS/h\ df5/hdf5/include -g -g -DDEBUG -c -o tst_h_dimscales.o tst_h_dimscales.c /bin/bash ../libtool --tag=CC --mode=link cc -g -g -DDEBUG -L. -L../libsrc4 -L/home/ed/local/SUNOS/hdf5/hdf5/lib -o tst_h_\ dimscales tst_h_dimscales.o libnetcdf.la -lhdf5_hl -lhdf5 cc -g -g -DDEBUG -o tst_h_dimscales tst_h_dimscales.o -L/home/ed/n3_tmp1/libsrc4 -L/home/ed/local/SUNOS/hdf5/hdf5/lib ./.li\ bs/libnetcdf.a /home/ed/local/SUNOS/hdf5/hdf5/lib/libhdf5_hl.so /home/ed/local/SUNOS/hdf5/hdf5/lib/libhdf5.so -lz -lnsl -lm \ -lsocket -R/home/ed/local/SUNOS/hdf5/hdf5/lib -R/home/ed/local/SUNOS/hdf5/hdf5/lib bash-3.00$ ./tst_h_dimscales ld.so.1: tst_h_dimscales: fatal: relocation error: file tst_h_dimscales: symbol H5DSset_scale: referenced symbol not found Killed Or... cc -g -g -DDEBUG -o tst_h_dimscales tst_h_dimscales.o -L/home/ed/n3_tmp1/libsrc4 -L/home/ed/local/SUNOS/hdf5/hdf5/lib ./.li\ bs/libnetcdf.a /home/ed/local/SUNOS/hdf5/hdf5/lib/libhdf5.so /home/ed/local/SUNOS/hdf5/hdf5/lib/libhdf5_hl.so -lz -lnsl -lm \ -lsocket -R/home/ed/local/SUNOS/hdf5/hdf5/lib -R/home/ed/local/SUNOS/hdf5/hdf5/lib bash-3.00$ ./tst_h_dimscales ld.so.1: tst_h_dimscales: fatal: relocation error: file tst_h_dimscales: symbol H5DSset_scale: referenced symbol not found Killed -- Ed Hartnett -- ed@xxxxxxxxxxxxxxxx
----------------------------------------------------------------------------------------------- Elena Pourmal, HDF QA, Maintenance and Support Team Leader NCSA University of Illinois at Urbana-Champaign 605 E. Springfield Ave. Champaign, IL 61820 epourmal@xxxxxxxxxxxxx (217)333-0238 (office) (217)244-1987 (fax) ----------------------------------------------------------------------------------------------
netcdf-hdf
archives: