title: Mathematica won't find SerialIO package
body: <p>I'm following a <a href="http://www.mathematica-journal.com/2013/03/controlling-robots-built-with-the-lego-mindstorms-nxt-brick/#Raguet-Schofield" rel="nofollow">guide</a> from The Mathematica Journal that describes how to use Mathematica with the Lego Mindstorms NXT. I have some trouble getting started and got stuck with the <a href="http://library.wolfram.com/infocenter/MathSource/5726/" rel="nofollow">SerialIO</a> package. </p>
  
  <p>I use Mac OSX and I have installed the package to:</p>
  
  <pre><code>/Applications/Mathematica.app/AddOns/ExtraPackages/SerialIO/
  </code></pre>
  
  <p>The command <strong>Needs["SerialIO`"]</strong> gives me the following error message:</p>
  
  <pre><code>LinkOpen::linke: Could not find MathLink executable.
  </code></pre>
  
  <p>And trying </p>
  
  <pre><code>SetDirectory[FileNameJoin[{$InstallationDirectory, "AddOns", "ExtraPackages", "SerialIO", $SystemID}]];
  </code></pre>
  
  <p>Does not help either, it gives:</p>
  
  <pre><code>SetDirectory::cdir: Cannot set current directory to /Applications/Mathematica.app/AddOns/ExtraPackages/SerialIO/MacOSX-x86-64.
  </code></pre>
  
  <p>There seem to be some problem with the alias/symbolic link in the SerialIO folder. By default they pointed to an absolute directory on the machine that this library was built on:</p>
  
  <pre><code>MacOSX-x86-64 -&gt; /Files/schofield/Packages/SerialIO/Build/Mac/build/Deployment/Package/SerialIO/MacOSX
  </code></pre>
  
  <p>I tried deleting the alias and creating a symbolic link in the terminal:</p>
  
  <pre><code>ln -s MacOSX MacOSX-x86-64
  </code></pre>
  
  <p>Running the <strong>SetDirectory</strong> command again result in... no result, so I guess thats good. The commands seem to have been loaded as when typing <em>Serial</em> it want to autocomplete to <strong>SerialOpen</strong> etc.</p>
  
  <p>However, using the command <strong>mybrick = SerialOpen["name of serial port"]</strong> does not put the NXT in connected mode (&lt;> on NXT display). Does anyone else got it to work?</p>