Menu

#53 MacOS X: librxtxSerial problem

open
5
2010-03-21
2010-03-21
Serge Droz
No

Starting on MacOS X does not work:
Error below. Solution found on: http://tech.element77.com/2009/06/arduino-problems-with.html
Maybe this could/should included in current MacOS Distros.

Error:
java.lang.UnsatisfiedLinkError: /Users/droz/Library/bt747_2/lib/rxtx-2.1-7-bins-r2/Mac_OS_X/librxtxSerial.jnilib: no suitable image found. Did find: /Users/droz/Library/bt747_2/lib/rxtx-2.1-7-bins-r2/Mac_OS_X/librxtxSerial.jnilib: no matching architecture in universal wrapper thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: /Users/droz/Library/bt747_2/lib/rxtx-2.1-7-bins-r2/Mac_OS_X/librxtxSerial.jnilib: no suitable image found. Did find: /Users/droz/Library/bt747_2/lib/rxtx-2.1-7-bins-r2/Mac_OS_X/librxtxSerial.jnilib: no matching architecture in universal wrapper

OS: MacOS X 10.6 (Darwin 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386)
3624 - BT747 2.X.1699 Build:BT747_mdeweerd.1699.20100321150137630
3624 - Initial: 1018x569 Screen: 1440x900 Final: 1018x569
3625 - Mac OS X
3625 - x86_64
3625 - 10.6.2
3625 - 1.6.0_17
3625 - 64

Discussion

  • Mario De Weerd

    Mario De Weerd - 2010-03-21

    Hi Serge

    The RXTX2.2 version is included with the distribution and available through the webstart. That contains a library compatible with your system.

    Apparently you are running from the zip in which case the startup script (bt747_macosX_j2se.command) seems to need some refinements.
    I wonder what $major_minor turns up to be. Can you launch the script in a terminal after changing the first line to

    #!/bin/bash -vx

    That will make sure that every executed line gets echoed and the variable expansions are resolved and shown to (on lines starting with '+' in the output).

     
  • Serge Droz

    Serge Droz - 2010-03-21

    Ok,

    I was running ./run_j2se.sh
    and not bt747_macosX_j2se.command
    The later does work fine.
    Sorry for the false alert

     

Log in to post a comment.