Re: [gdal-dev] Native library load failed while using gdal maven dependency - UnsatisfiedLinkError

2019-09-24 Thread gauravmam
Hi, Can anyone please share the exact same solution for MacOS? All the working solutions I found were for Windows. Thanks, Gaurav -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo

Re: [gdal-dev] Native library load failed while using gdal maven dependency - UnsatisfiedLinkError

2016-02-10 Thread ssaniev
So the solution for using gdal bindings in java was to install the proper version which came with all the dll's and simply using the jar from the maven repo. I installed core gdal installer in windows, and set my environment variables, and gdal jar started to work correctly in my maven project. I

Re: [gdal-dev] Native library load failed while using gdal maven dependency - UnsatisfiedLinkError

2016-02-09 Thread ssaniev
Thanks. Will be looking into that soon. Will report back here if it works. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Native-library-load-failed-while-using-gdal-maven-dependency-UnsatisfiedLinkError-tp5249728p5249772.html Sent from the GDAL - Dev mailing list archive

Re: [gdal-dev] Native library load failed while using gdal maven dependency - UnsatisfiedLinkError

2016-02-09 Thread Justin Deoliveira
Looks like you have everything configured properly. I have seen reports from users having issue with using a gdal jar compiled on a different system. I’ve never seen that personally but from what I understand the solution in that case was to just compile the java (and the rest of the gdal libs) the

Re: [gdal-dev] Native library load failed while using gdal maven dependency - UnsatisfiedLinkError

2016-02-09 Thread ssaniev
Hi Justin, Coding in java Windows7/Eclipse/spring/maven. *As told before, added dependency to pom, and see the gdal-2.0.0.jar in maven dependencies and able to import to my java class.* org.gdal gdal 2.0.0 I downloaded the libraries from here: http://download.gisintern

Re: [gdal-dev] Native library load failed while using gdal maven dependency - UnsatisfiedLinkError

2016-02-09 Thread Justin Deoliveira
Hi, Have you set the java.library.path system property to the location of the gdal libraries on the system? The gdal jar doesn’t contain any of the native libraries, just the java parts. I’ve found that usually I do need to set LD_LIBRARY_PATH to include the location of the gdal libraries, and th

[gdal-dev] Native library load failed while using gdal maven dependency - UnsatisfiedLinkError

2016-02-09 Thread ssaniev
Hey guys, First time GDAL user here. We are trying to load shapefiles into postgresql DB, and were able to do so with GDAL ogr2ogr CLI utility. Following cmd works via cmd: ogr2ogr -f PostgreSQL PG:"host='hostName' port='5432' user='userName' dbname='dbName' password='aPassword'" shapeFileNam