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 directory, or in LD_LIBRARY_PATH if this works on MacOSX) > > Interestingly, I've done it once. the libgdaljni.dylib was much > bigger(~16mb) and it worked without dependency problems. > Unfortunately I have no idea how I did it ! Sounds like your libgdaljni.dylib was linked against a static version of libgdal. Best regards, Even _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
