[greenstone-users] successful gsdl3 on 64 bit ubuntu build... now

From Anson Parker
DateSat, 6 Oct 2007 16:07:41 -0400
Subject [greenstone-users] successful gsdl3 on 64 bit ubuntu build... now
Hi - finally got gsdl3 to build on 64bit ubuntu.  had to remove references to mgpp in the build file

line 824 <copy file="${mgpp.home}/jni/libmgppjni.so" todir="${lib.jni}"/>
    <copy file="${mgpp.home}/jni/libmgpppassjni.so" todir="${lib.jni}"/>

now i'm getting this error - perhaps someone can clue me in which other build files i need to edit to clean this up
tomcat 500 error
<--- begin paste

java.lang.UnsatisfiedLinkError: no mgppjni in java.library.path
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
java.lang.Runtime.loadLibrary0(Runtime.java:823)
java.lang.System.loadLibrary(System.java:1030)
org.greenstone.mgpp.MGPPWrapper.<clinit>(MGPPWrapper.java:26)
org.greenstone.gsdl3.service.GS2MGPPRetrieve.<init>(GS2MGPPRetrieve.java:53)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
java.lang.Class.newInstance0(Class.java:355)
java.lang.Class.newInstance(Class.java:308)
org.greenstone.gsdl3.collection.ServiceCluster.configureServiceRack(ServiceCluster.java:277)
org.greenstone.gsdl3.collection.Collection.configure(Collection.java:92)
org.greenstone.gsdl3.core.MessageRouter.activateCollectionByName(MessageRouter.java:804)
org.greenstone.gsdl3.core.MessageRouter.configureCollections(MessageRouter.java:427)
org.greenstone.gsdl3.core.MessageRouter.configure(MessageRouter.java:196)
org.greenstone.gsdl3.LibraryServlet.init(LibraryServlet.java:137)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

end paste -->


java.lang.Thread.run(Thread.java:619)



Aloha ya'll

Peek-a-boo FREE Tricks & Treats for You! Get 'em!