NetLogo/GoGo-Extension — Issue #1: Mac OS X native library lacks 64-bit support (UnsatisfiedLinkError)
Author: SethTisue
Created: 2011-11-22 13:46:08+00:00
State: open

"No matching architecture in universal wrapper" indicates that NetLogo is running in 64-bit mode (which 5.0, unlike 4.1, uses by
default on Mac OS X) and expects a 64-bit native library, but the library is old and only includes 32-bit code.

```
java.lang.UnsatisfiedLinkError: /Applications/NetLogo
5.0RC4/extensions/gogo/lib/Mac OS X/librxtxSerial.jnilib: no suitable
image found. Did find: /Applications/NetLogo
5.0RC4/extensions/gogo/lib/Mac OS X/librxtxSerial.jnilib: no matching
architecture in universal wrapper at
java.lang.ClassLoader$NativeLibrary.load(Native Method) at
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827) at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1742) at
java.lang.Runtime.loadLibrary0(Runtime.java:823) at
java.lang.System.loadLibrary(System.java:1045) at
gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at
org.nlogo.extensions.gogo.GoGoController.listPorts(GoGoController.java:129)
```