javaMapscript compilation

Umberto Nicoletti unicoletti at PROMETEO.IT
Tue Sep 14 03:07:38 PDT 2004


The Java interpreter needs to find (and load) the shared library that
contains the C code you are invoking through Java objects.

To do this you have two options:

1) put  mapscript.so in a standard location (see /etc/ld.so.conf for you
systema defaults) (you might have to run ldconfig, but that's usually not
necessary)

2) set the env variable LD_LIBRARY_PATH to the directory containing
mapscript.so. You can do that from your bash shell typing:
export LD_LIBRARY_PATH=/path/to/mapscript.so

HTH,
Umberto



More information about the MapServer-users mailing list