Skip to content

Commit

Permalink
Add GDAL jni path to LD_LIBRARY_PATH.
Browse files Browse the repository at this point in the history
  • Loading branch information
milos.colic committed Oct 20, 2023
1 parent 5cb0a9e commit 9f462eb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ object TestMosaicGDAL extends Logging {
val tempPath = Files.createTempFile("gdal-ubuntu-install", ".sh")
Files.write(tempPath, bytes)

"LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jni/".!!
s"chmod +x ${tempPath.toAbsolutePath.toString}".!!
s"sh ${tempPath.toAbsolutePath.toString}".!!
}
Expand Down

0 comments on commit 9f462eb

Please sign in to comment.