Building HDFView 3.1.0 on RHEL7: swt library not found


#1

when i attempt to run HDFVIew i get the following error.

Exception in thread “main” java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-pi4-gtk-4922r32 in java.library.path: [/usr/hdfview/lib, /usr/hdfview/lib/ext]
no swt-pi4-gtk in java.library.path: [/usr/hdfview/lib, /usr/hdfview/lib/ext]
Can’t load library: /root/.swt/lib/linux/x86_64/libswt-pi4-gtk-4922r32.so
Can’t load library: /root/.swt/lib/linux/x86_64/libswt-pi4-gtk.so