Opened 16 years ago

Closed 16 years ago

#2478 closed defect (invalid)

java mapscript: make test fails

Reported by: ncastrog Owned by: unicoletti
Priority: normal Milestone:
Component: MapScript-Java Version: unspecified
Severity: normal Keywords:
Cc:

Description

when try to run make test it fails with this message java.lang.UnsatisfiedLinkError: /home/nahum/software/mapserver-5.0.0/mapscript/java/libmapscript.so: /home/nahum/software/mapserver-5.0.0/mapscript/java/libmapscript.so: undefined symbol: xmlFree

I have copied the .jar to JAVA_HOME/jre/lib/ext and the .so to /usr/local/lib then run ldconfig.

ldd libmapscript.so

linux-gate.so.1 => (0x00d95000) libgd.so.2 => /usr/local/lib/libgd.so.2 (0x00f19000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00110000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00132000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x0040c000) libz.so.1 => /usr/lib/libz.so.1 (0x00faa000) libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00dc6000) libX11.so.6 => /usr/lib/libX11.so.6 (0x001b2000) libproj.so.0 => /usr/local/lib/libproj.so.0 (0x002b5000) libgdal.so.1 => /usr/local/lib/libgdal.so.1 (0x00793000) libgeos-3.0.0.so => /usr/local/lib/libgeos-3.0.0.so (0x00432000) libgeos_c.so.1 => /usr/local/lib/libgeos_c.so.1 (0x00cd4000) libtiff.so.3 => /usr/lib/libtiff.so.3 (0x002e7000) libpq.so.5 => /usr/local/pgsql/lib/libpq.so.5 (0x0033f000) libm.so.6 => /lib/libm.so.6 (0x00f81000) librt.so.1 => /lib/librt.so.1 (0x00358000) libdl.so.2 => /lib/libdl.so.2 (0x00361000) libcurl.so.3 => /usr/lib/libcurl.so.3 (0x005f8000) libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x003a9000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00b47000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00365000) libcom_err.so.2 => /lib/libcom_err.so.2 (0x0038b000) libresolv.so.2 => /lib/libresolv.so.2 (0x003d7000) libidn.so.11 => /usr/lib/libidn.so.11 (0x0056d000) libssl.so.6 => /lib/libssl.so.6 (0x0059e000) libcrypto.so.6 => /lib/libcrypto.so.6 (0x00dd7000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00bda000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x003ea000) libc.so.6 => /lib/libc.so.6 (0x00fbd000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00ce4000) libXau.so.6 => /usr/lib/libXau.so.6 (0x003f6000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x003f9000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x00d13000) /lib/ld-linux.so.2 (0x0038e000) libpthread.so.0 => /lib/libpthread.so.0 (0x00634000) libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x003ff000) libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00408000) libexpat.so.0 => /lib/libexpat.so.0 (0x00d41000) libselinux.so.1 => /lib/libselinux.so.1 (0x00d62000) libsepol.so.1 => /lib/libsepol.so.1 (0x07a23000)

java version: jdk 1.6.0_04

ldconfig -v: /usr/local/lib:

libmapscript.so -> libmapscript.so libgeos_c.so.1 -> libgeos_c.so.1.4.1 libgdal.so.1 -> libgdal.so.1.11.4 libgd.so.2 -> libgd.so.2.0.0 libgeos-3.0.0.so -> libgeos.so libproj.so.0 -> libproj.so.0.5.4

Mapserver version: 5.0.0

OS: Linux seip 2.6.18-53.1.4.el5 #1 SMP Fri Nov 30 00:45:16 EST 2007 i686 i686 i386 GNU/Linux

Attachments (1)

configure-mapserver.txt (219 bytes ) - added by ncastrog 16 years ago.

Download all attachments as: .zip

Change History (2)

by ncastrog, 16 years ago

Attachment: configure-mapserver.txt added

comment:1 by unicoletti, 16 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.