You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to deploy RSDB on a Ubuntu 22.04.4 LTS machine. Due to the issue of libgdal-java not being pre-compiled for this OS version, I followed your Wiki suggestion to manually copy libgdalalljni.so and gdal.jar to /usr/lib/jni/ and /usr/share/java/ after extracting them from the package you are referencing in the wiki.
Unfortunately, executing ./rsdb.sh server resulted in the following error:
java.lang.UnsatisfiedLinkError: /usr/lib/jni/libgdalalljni.so: libgdal.so.30: cannot open shared object file: No such file or directory
ERROR sever not started java.lang.UnsatisfiedLinkError: 'long org.gdal.osr.osrJNI.new_SpatialReference__SWIG_0(java.lang.String)' server.RunServer.main(RunServer.java:21)
I double-checked the files being in the correct directories and changed permissions and ownerships in case those were causing the issue, to no avail.
Hence, I went on to create a custom build of GDAL, instead, using a clean Ubuntu 22.04.4 LTS system with no pre-installs other than the packages shipped by default and every dependency suggested in your very helpful GDAL build guide which I followed for completing the build.
Unfortunately, running ./rsdb.sh server now results in the following error:
ERROR sever not started java.lang.NoClassDefFoundError: org/gdal/osr/SpatialReference server.RunServer.main(RunServer.java:21)
Could you give me any insights of what may be missing from the GDAL build to make RSDB work or point me into a direction of what else may be the problem?
Thank you very much in advance!
The text was updated successfully, but these errors were encountered:
16EAGLE
changed the title
Error when attempting to start RSDB under Ubuntu 22.04 with per-build libgdal-java and, alternatively, custom GDAL build
Error when attempting to start RSDB under Ubuntu 22.04 with pre-build libgdal-java and, alternatively, custom GDAL build
Jun 13, 2024
Thanks a lot for developing RSDB open-source!
We are trying to deploy RSDB on a Ubuntu 22.04.4 LTS machine. Due to the issue of
libgdal-java
not being pre-compiled for this OS version, I followed your Wiki suggestion to manually copylibgdalalljni.so
andgdal.jar
to/usr/lib/jni/
and/usr/share/java/
after extracting them from the package you are referencing in the wiki.Unfortunately, executing
./rsdb.sh server
resulted in the following error:I double-checked the files being in the correct directories and changed permissions and ownerships in case those were causing the issue, to no avail.
Hence, I went on to create a custom build of GDAL, instead, using a clean Ubuntu 22.04.4 LTS system with no pre-installs other than the packages shipped by default and every dependency suggested in your very helpful GDAL build guide which I followed for completing the build.
Unfortunately, running
./rsdb.sh server
now results in the following error:Could you give me any insights of what may be missing from the GDAL build to make RSDB work or point me into a direction of what else may be the problem?
Thank you very much in advance!
The text was updated successfully, but these errors were encountered: