title: FFI error module not found
body: <p>I'm using Ubuntu 64bit and Pharo 1.2.1</p>
  
  <p>I've written some FFI code that accesses crypt(3) from glibc.  I'd like to change it to access crypt from libxcrypt that I install using apt-get.  When I change the method from: </p>
  
  <pre><code>ffiCrypt: aKey with: aSalt
  &lt;cdecl: char* 'crypt' (char* char*) module: 'crypt'&gt;
  ^self externalCallFailed
  </code></pre>
  
  <p>to: </p>
  
  <pre><code>ffiCrypt: aKey with: aSalt
  &lt;cdecl: char* 'crypt' (char* char*) module: '/lib/libxcrypt.so.1'&gt;
  ^self externalCallFailed
  </code></pre>
  
  <p>I get External Module Not Found errors.  I've linked to the libxcrypt.so.1 file from the directory my image is in.</p>
  
  <p>I suspect it could be a 64 bit vs 32 bit library thing or that I need to link the library somewhere else but do not know.  </p>
  
  <p>What are some steps or things I could check to try to track down why the external module cannot be found?  </p>