diff -urNp h5utils-1.13.1-orig/configure.ac h5utils-1.13.1-dwok/configure.ac --- h5utils-1.13.1-orig/configure.ac 2022-05-03 18:15:58.378175623 +0200 +++ h5utils-1.13.1-dwok/configure.ac 2022-05-03 18:22:30.480198059 +0200 @@ -40,7 +40,7 @@ PNG_LIBS="" AC_CHECK_LIB(z, inflate, ok=yes, ok=no) if test "$ok" = "yes"; then - LIBS="-lz $LIBS" + LIBS="-lz -L/usr/lib64/octave/6.4.0 -loctave -L/usr/lib64/octave/6.4.0 -loctinterp $LIBS" AC_CHECK_LIB(png, png_create_write_struct, ok=yes, ok=no) if test "$ok" = "yes"; then