ldt compile error-undefined reference to symbol 'SZ_BufftoBuffCompress #1032
-
Hi, New error messages were encountered while LDT (LISF_public_release_7.3.3) was being compiled..
ld: /opt/kma/kma_lib/apps/hdf4/4.2.15_fort/INTEL/210/lib//libdf.a(cszip.o): undefined reference to symbol 'SZ_BufftoBuffCompress' [ERR] Compile failed
FC = mpiifort Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @jachungithub, a quick Google search suggests that your HDF4 library may have been built with SZIP support and needs to be linked when you compile LISF components. Try editing your See these links for descriptions of this error and potential solutions: |
Beta Was this translation helpful? Give feedback.
Hi @jachungithub, a quick Google search suggests that your HDF4 library may have been built with SZIP support and needs to be linked when you compile LISF components.
Try editing your
configure.ldt
file to add-lsz
after-L$(LIB_HDF4) -lmfhdf -ldf -ljpeg -lz
on the last line (LDFLAGS = ...
). You may also need to add the path to the SZIP installation to yourLD_LIBRARY_PATH
environment variable.See these links for descriptions of this error and potential solutions: