Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
MacOS X FFI Issues
Last updated at 2:08 am UTC on 17 May 2010

Under Snow Leopard:

As of 5/16/2010, the Mac VM's default behavior is to only look its Resources folder for libraries.
The two workarounds are (see http://forum.world.st/squeak-dev-Alien-Squeak-FFI-issues-on-Snow-Leopard-td85608.html#a2218782 for tradeoffs):

Pre 3.8.12 carbon VM for MacOS X (supported by John McIntosh):

These older VMs do not support the Mach-o dynamic libraries (.dylib) with the FFI.
You must either build a bundle or a framework, or it will give an "Unable To Find Function Address" exception if you try to use a dylib.