Changes between Version 6 and Version 7 of GdalOgrInJavaBuildInstructionsUnix


Ignore:
Timestamp:
Sep 21, 2012, 4:22:23 AM (12 years ago)
Author:
Even Rouault
Comment:

Mention that libgdal.so must also be in LD_LIBRARY_PATH

Legend:

Unmodified
Added
Removed
Modified
  • GdalOgrInJavaBuildInstructionsUnix

    v6 v7  
    100100{{{
    101101javac apps/gdalinfo.java
    102 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:`pwd`
     102setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:`pwd`:path_to_directory_where_libgdal_so
    103103java -classpath `pwd`/gdal.jar:`pwd`:`pwd`/apps gdalinfo
    104104}}}
     
    107107
    108108{{{
    109 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:`pwd`
     109setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:`pwd`:path_to_directory_where_libgdal_so
    110110java -classpath `pwd`/gdal.jar:`pwd`:`pwd`/build/apps gdalinfo
    111111}}}
     
    113113With luck you will see the gdalinfo usage message.
    114114
    115 To deploy you need gdal.jar in your class path, and the four .so files (libgdalconstjni.so, libgdaljni.so, libogrjni.so and libosrjni.so) in your shared library path.
     115To deploy you need gdal.jar in your class path, the 4 .so files (libgdalconstjni.so, libgdaljni.so, libogrjni.so and libosrjni.so) and libgdal.so in your shared library path.
    116116