Re: [gdal-dev] Compile GDAL with swig(Java) on MAC OS X

2011-12-06 Thread William Kyngesburye
On Dec 6, 2011, at 4:40 AM, Even Rouault wrote: > Dennis, > >> >> This works well so far, but the libgdaljni.dylib is directly linked to >> libgdal in the base Folder. So, if copy my program to another location, >> I will get a UnsatisfiedLinkError. > > Yes, both libs must be accessible through

Re: [gdal-dev] Compile GDAL with swig(Java) on MAC OS X

2011-12-06 Thread Even Rouault
Dennis, > > This works well so far, but the libgdaljni.dylib is directly linked to > libgdal in the base Folder. So, if copy my program to another location, > I will get a UnsatisfiedLinkError. Yes, both libs must be accessible through the java.library.path property (or in a system library direct

[gdal-dev] Compile GDAL with swig(Java) on MAC OS X

2011-12-06 Thread dennis
Hi all, I have a question about compiling gdal. I want to write a program in java with gdal and I want to compile gdal in a way, so that the user can use the already compiled lib. What I did so far is, changing the java.opt and this. gdal:$ ./configure gdal:$ make gdal:$ cd swig/java gdal:$ ./