Problems with configure options in JavaMapscript

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Thu Jun 8 04:18:53 EDT 2006


On 6/8/06, Nicol Hermann <mapserver at geoworld.de> wrote:
> Dear Developers,
>
> i found two issues with the configure options in JAVA Mapscript.
> I use the lastest cvs version of mapserver.
>
> Here are the two things in found
>
> 1) --with-sos
> This option causes the following error
>
> Exception in thread "main"
> java.lang.UnsatisfiedLinkError: /usr/local/j2sdk1.4.2_08/jre/lib/i386/client/libmapscript.so: /usr/local/j2sdk1.4.2_08/jre/lib/i386/client/libmapscript.so: undefined symbol: xmlFree
>         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
>         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
>         at java.lang.System.loadLibrary(System.java:834)
>         at msjava.initms.main(initms.java:8)
>
> when i try to load the system library.
> I'am uncertain if i miss to include an other .so/dll library in my
> LD_LIBRARY_PATH or if this is a problem with mapserver.
> If i execute 'ldd libmapscript.so' on the .so file all dependencies are
> satisfied. Maybe Assefa can comment on this.
>
> 2. --enable-point-z-m
> This flag clauses a crash outside the VM. If i compile mapserver
> without this option everything is fine.
> I think this is a bug.
>

Nicol,
See this bug:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1695

The point-z-m option is rarely used (that I know of :-) ) and has a
significant impact on performance so the general advice is don't use
it unless you need it.

Hope this helps,
Umberto

> Any comments on how to solve this issues are very welcome.
>
> Greetings
> Nicol
>



More information about the mapserver-dev mailing list