Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2011 18:54:43 -0800
From:      Aric Gregson <aorchid@mac.com>
To:        freebsd-java@FreeBSD.org
Subject:   OpenJDK and libpthread not found during runtime?
Message-ID:  <20111118185443.27bd8c55@freeenv.ad.medctr.ucla.edu>

next in thread | raw e-mail | index | archive | help
Hello,

I apologize for writing to this email as this is not a bug as far as I
can tell. I have posted to the 'ports' forum but there is no reply and
I suspect that the java people don't venture over there too often. 

I have FreeBSD 9.0-CURRENT #0: Tue Jul 19 16:18:20 PDT 2011 and
openjdk6-b23_1 installed. I am trying from the command line to run a
program that apparently is searching for libpthread.so.0 but cannot find
it for some reason. I've no idea how to try to fix this, if there is
indeed something to 'fix' on my end. I know nothing about java. Of
course, the required library does exist. 

Apologies again if this is not a java issue, but I'm not sure where to
start looking for a potential solution and any suggestions are
appreciated.

Thanks, Aric

------------------------

java.lang.UnsatisfiedLinkError: /fitz/home/aorchid/downloads/fj/libFlowJoEngine64.so:
Shared object "libpthread.so.0" not found, required by
"libFlowJoEngine64.so" at
java.lang.ClassLoader$NativeLibrary.load(Native Method) at
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676) at
java.lang.Runtime.loadLibrary0(Runtime.java:823) at
java.lang.System.loadLibrary(System.java:1030) at
com.treestar.flowjo.engine.EngineManager.loadEngineLibrary(EngineManager.java:239)
at com.treestar.flowjo.engine.Engine.getLocalEngine(Engine.java:20) at
com.treestar.flowjo.engine.EngineManager.getLocalEngine(EngineManager.java:598)
at
com.treestar.flowjo.main.authenticate.Licensor.getHWAddress(Licensor.java:86)
at
com.treestar.flowjo.core.logging.FJLogger.getSpecificHeaderSegment(FJLogger.java:52)
at com.treestar.lib.logging.ActionLogger.composeHeader(Unknown Source)
at com.treestar.lib.logging.ActionLogger.writeLog(Unknown Source) at
com.treestar.lib.logging.ActionLogger.createLogFile(Unknown Source) at
com.treestar.lib.logging.ActionLogger.init(Unknown Source) at
com.treestar.lib.logging.ActionLogger.<init>(Unknown Source) at
com.treestar.flowjo.core.logging.FJLogger.<init>(FJLogger.java:18) at
com.treestar.flowjo.main.Main.initActionLog(Main.java:514) at
com.treestar.flowjo.main.Main.main(Main.java:109)
com.treestar.flowjo.engine.EngineLoadFailed at
com.treestar.flowjo.engine.EngineManager.loadEngineLibrary(EngineManager.java:250)
at com.treestar.flowjo.engine.Engine.getLocalEngine(Engine.java:20) at
com.treestar.flowjo.engine.EngineManager.getLocalEngine(EngineManager.java:598)
at
com.treestar.flowjo.main.authenticate.Licensor.getHWAddress(Licensor.java:86)
at
com.treestar.flowjo.core.logging.FJLogger.getSpecificHeaderSegment(FJLogger.java:52)
at com.treestar.lib.logging.ActionLogger.composeHeader(Unknown Source)
at com.treestar.lib.logging.ActionLogger.writeLog(Unknown Source) at
com.treestar.lib.logging.ActionLogger.createLogFile(Unknown Source) at
com.treestar.lib.logging.ActionLogger.init(Unknown Source) at
com.treestar.lib.logging.ActionLogger.<init>(Unknown Source) at
com.treestar.flowjo.core.logging.FJLogger.<init>(FJLogger.java:18) at
com.treestar.flowjo.main.Main.initActionLog(Main.java:514) at
com.treestar.flowjo.main.Main.main(Main.java:109) submitQuery ex:
com.treestar.flowjo.engine.Engine.renderVisualization(Ljava/lang/String;)Ljava/lang/String;
Engine request came back empty. Exception occurred during event
dispatching: java.lang.RuntimeException: No action log instantiated at
com.treestar.lib.logging.ActionLoggerManager.getInstance(Unknown
Source) at
com.treestar.lib.gui.actions.FJAction.actionPerformed(Unknown Source)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6038) at
javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at
java.awt.Component.processEvent(Component.java:5803) at
java.awt.Container.processEvent(Container.java:2058) at
java.awt.Component.dispatchEventImpl(Component.java:4410) at
java.awt.Container.dispatchEventImpl(Container.java:2116) at
java.awt.Component.dispatchEvent(Component.java:4240) at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at
java.awt.Container.dispatchEventImpl(Container.java:2102) at
java.awt.Window.dispatchEventImpl(Window.java:2429) at
java.awt.Component.dispatchEvent(Component.java:4240) at
java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1039) at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at
java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
10.0b28.25 10.0b28.25
java.lang.UnsatisfiedLinkError: /fitz/home/aorchid/downloads/fj/libFlowJoEngine64.so:
Shared object "libpthread.so.0" not found, required by
"libFlowJoEngine64.so" at
java.lang.ClassLoader$NativeLibrary.load(Native Method) at
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676) at
java.lang.Runtime.loadLibrary0(Runtime.java:823) at
java.lang.System.loadLibrary(System.java:1030) at
com.treestar.flowjo.engine.EngineManager.loadEngineLibrary(EngineManager.java:239)
at
com.treestar.flowjo.application.engine.EngineUtil.loadLibraryAndInitializeEngine(EngineUtil.java:49)
at com.treestar.flowjo.main.Main.startup(Main.java:464) at
com.treestar.flowjo.main.Main.main(Main.java:150)
engine.util.couldntload Prefs.savePrefs(): Preferences successfully
saved. Actionlog Send Duration = 2 true Actionlog Receive Duration= 648
ActionLog /fitz/home/aorchid/actionlogs/FLOWJO/log0.txt succesfully
sent and deleted




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111118185443.27bd8c55>