Problems with configure options in JavaMapscript

Philip Mark Donaghy philip.donaghy at GMAIL.COM
Thu Jun 8 08:43:56 EDT 2006


When using java mapscript, I build configure,

with-freetype
without-tiff
with-gdal
with-proj
without-pdf
with-threads

Is this still the recommended configuration? I understood that building only
what you need is the best way to troubleshoot problems.

Phil

On 6/8/06, Umberto Nicoletti <umberto.nicoletti at gmail.com> wrote:
>
> 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
> >
>



-- 
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20060608/9329157e/attachment.html


More information about the mapserver-dev mailing list