[gdal-dev] Re: UnsatisfiedLinkError with gdal14

MarvinCO marvin.offiah at googlemail.com
Mon Nov 22 18:16:44 EST 2010


No, no reason at all. I didn't know there's any other binary version out
there, only found the one I had been using so far via the official download
link from the GDAL home page. I just downloaded the version from your page
now. Why isn't that link on the GDAL home page?

I did that now, updated to 1.7, but the error remains the same. I hope I'm
doing this right: I copied all the DLLs in the gdal/java folder of your
distribution, and the gdal17.dll, into my jre/bin directory. I also copied
the gdal.jar into my classpath directory and included the jar in my
classpath (also in the Python script). Still the very same error, this time
its gdal17.dll that's causing the UnsatisfiedLinkError. 

My Python script looks like this now:

import os, sys, subprocess, time

dir = os.getcwd().replace("\\", "/") + "/share/extensions/MapIllustrator/"
os.chdir(dir)

libdir = "lib/"
cmd = "java -verbose -classpath \".;C:/Program
Files/Java/jre6/lib/ext/QTJava.zip;build/classes;" + libdir + "*;" + libdir
+ "SuperCSV-1.52/*;" + libdir + "batik-1.7/*;" + libdir + "batik-1.7/lib/*;"
+ libdir + "batik-1.7/extensions/*;" + libdir + "gdal-1.7/*;" + "\"
mapillustrator.MapIllustrator \"" + sys.argv[-1] + "\"" 
print cmd

subprocess.Popen(cmd, stdout=True)
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/UnsatisfiedLinkError-with-gdal14-tp5759026p5764808.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list