# UnsatisfiedLinkError with Processing and Pycom

**URL:** <https://discourse.processing.org/t/unsatisfiedlinkerror-with-processing-and-pycom/6533>\
**Category:** Processing.py\
**Created:** [December 12, 2018, 9:22am UTC](https://discourse.processing.org/t/unsatisfiedlinkerror-with-processing-and-pycom/6533 "2018-12-12T09:22:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wuihee](https://avatars.discourse-cdn.com/v4/letter/w/e5b9ba/32.png) [@wuihee](https://discourse.processing.org/u/wuihee)\
**Post date:** [December 12, 2018, 9:22am UTC](https://discourse.processing.org/t/unsatisfiedlinkerror-with-processing-and-pycom/6533/1 "2018-12-12T09:22:09Z")

</div>

Hello! I’m using Processing with Pycom to run an accelerometer [example](https://docs.pycom.io/tutorials/pysense.html). However, when I run my code in processing I get this error:

```auto
processing.app.SketchException: java.lang.UnsatisfiedLinkError: jssc.SerialNativeInterface.openPort(Ljava/lang/String;Z)J
	at jssc.SerialNativeInterface.openPort(Native Method)
	at jssc.SerialPort.openPort(SerialPort.java:158)
	at processing.serial.Serial.<init>(Unknown Source)
	at processing.serial.Serial.<init>(Unknown Source)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:211)
	at org.python.core.PyReflectedConstructor. __call__ (PyReflectedConstructor.java:180)
	at org.python.core.PyObject. __call__ (PyObject.java:438)
	at org.python.core.PyMethod.instancemethod ___call__ (PyMethod.java:237)
	at org.python.core.PyMethod. __call__ (PyMethod.java:228)
	at org.python.core.PyMethod. __call__ (PyMethod.java:223)
	at org.python.core.Deriveds.dispatch __init__ (Deriveds.java:19)
	at org.python.core.PyObjectDerived.dispatch __init__ (PyObjectDerived.java:1112)
	at org.python.core.PyType.type ___call__ (PyType.java:1822)
	at org.python.core.PyType. __call__ (PyType.java:1805)
	at org.python.core.PyObject. __call__ (PyObject.java:515)
	at org.python.core.PyObject. __call__ (PyObject.java:519)
	at org.python.pycode._pyx11.setup$1(visualiser.pyde:22)
	at org.python.pycode._pyx11.call_function(visualiser.pyde)
	at org.python.core.PyTableCode.call(PyTableCode.java:171)
	at org.python.core.PyBaseCode.call(PyBaseCode.java:125)
	at org.python.core.PyFunction. __call__ (PyFunction.java:403)
	at org.python.core.PyFunction. __call__ (PyFunction.java:398)
	at jycessing.PAppletJythonDriver.setup(Unknown Source)
	at processing.core.PApplet.handleDraw(PApplet.java:2404)
	at processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:866)
	at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
	at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
	at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
	at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
	at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
	at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
	at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
	at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
	at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)

	at jycessing.mode.run.SketchRunner.convertPythonSketchError(SketchRunner.java:222)
	at jycessing.mode.run.SketchRunner.lambda$2(SketchRunner.java:119)
	at java.lang.Thread.run(Thread.java:748)

```

I thought it had something to do with the jssc [library](https://github.com/arduino/Arduino/issues/7517) and tried manually installing jssc. I tried replacing the linux directory in ~/.jssc/ with the linux folder in the jssc.jar file, but I still get the error. I’m at a loss of what to do.

Any help would be greatly appreciated!
