problems porting latest release to SUN - H5Dset_scale not found...

NOTE: The netcdf-hdf mailing list is no longer active. The list archives are made available for historical reasons.

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


  • 2005 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-hdf archives: