I think that problem is in the name: in Linux system, JNI search for something named libMapGuideJavaApi.so, and that file should be found in the library path, while in windows system it search for MapGuideJavaApi.dll. You may try to make a symbolic link to the object created by build system named libMapGuideJavaApi.so The easiest way to put a library in the library path is to ensure that the directory where is located is in the system path.

Hope this helps
Riccardo

gimbrogno @smartlab ha scritto:
Hi, I have installed Mapguide OpenSource on same linux systems (ubuntu 7.10
and CentOS 5.1), but I have an error  zwhen try the java sample !!!

When LinuxApt is compiled, it is not able to create the MapGuideApi.jar, so
I have copied this jar from a windows in /WEB-INF/lib. Unber the directory tomcat/conf there is not Catalina/localhost, so I have
created this two directories and I've copied the LinuxApt/mapguide.xml into.

After these works the result page is "no MapGuideJavaApi in
java.library.path... ", but MapGuideJavaApi is not a jar file but a static
object (MapGuideJavaApi.so.0.7). Where is the library path where this object
must be copied to?

Under windows systems, I have no problems!!! There is anyone that uses
MaGuide OpenSource under Linux that can helps me?

Thanks in advantage... (I'm sorry for my english, but english is not my
native language)

_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to