Problems with configure options in JavaMapscript

Nicol Hermann mapserver at GEOWORLD.DE
Thu Jun 8 00:24:16 EDT 2006


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.

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

Greetings
Nicol



More information about the mapserver-dev mailing list