Native gdal library missing

How to install this library?

Native library load failed.
java.lang.UnsatisfiedLinkError: C:\Users\SAIPLANNER.snap\auxdata\gdal\gdal-2.1.3-win64\bin\gdal\java\gdalconstjni.dll: Can’t find dependent libraries
Error: org.gdal.gdalconst.gdalconstJNI.GDT_Unknown_get()I
java.lang.UnsatisfiedLinkError: org.gdal.gdalconst.gdalconstJNI.GDT_Unknown_get()I
at org.gdal.gdalconst.gdalconstJNI.GDT_Unknown_get(Native Method)
at org.gdal.gdalconst.gdalconstConstants.(gdalconstConstants.java:12)
at org.esa.s2tbx.dataio.gdal.GDALUtils.(GDALUtils.java:32)
at org.esa.s2tbx.dataio.gdal.activator.GDALDistributionInstaller.install(GDALDistributionInstaller.java:74)
at org.esa.s2tbx.dataio.gdal.activator.GDALPlugInActivator.start(GDALPlugInActivator.java:22)
at org.esa.snap.runtime.Engine.informActivators(Engine.java:222)
at org.esa.snap.runtime.Engine.lambda$start$10(Engine.java:121)
at org.esa.snap.runtime.Engine.runClientCode(Engine.java:189)
at org.esa.snap.runtime.Engine.start(Engine.java:121)
at org.esa.snap.runtime.Engine.start(Engine.java:90)
at org.esa.snap.runtime.Launcher.run(Launcher.java:51)
at org.esa.snap.runtime.Launcher.main(Launcher.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62)
at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:101)
at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:16)

I have recently updated my SNAP through the command line (snap64 --nosplash --nogui --modules --update-all) after this gdal library missing error is coming.

i have deleted the gdal folder located in “C:\Users\SAIPLANNER.snap\auxdata\gdal\gdal-2.1.3-win64\bin”. it automatically created the new folder and its working properly now.

1 Like