Skip to content

ldt compile error-undefined reference to symbol 'SZ_BufftoBuffCompress #1032

Closed Answered by bmcandr
jachungithub asked this question in Q&A
Discussion options

You must be logged in to vote

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 your LD_LIBRARY_PATH environment variable.

See these links for descriptions of this error and potential solutions:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jachungithub
Comment options

Answer selected by jachungithub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants