[Pharo-project] FFI on Mac OSX

Mariano Martinez Peck marianopeck at gmail.com
Sun Jun 12 17:31:57 EDT 2011


On Sun, Jun 12, 2011 at 11:18 PM, Jan van de Sandt <jvdsandt at gmail.com>wrote:

> Hello,
>
> I'm trying to use an external library through FFI. On the Mac
> (Snow Leopard) I get the following error on the console:
>
> tryLoading
> /Applications/Smalltalk/Cog.app/Contents/Resources/libicui18n.dylib
>
> ioLoadModule(/Applications/Smalltalk/Cog.app/Contents/Resources/libicui18n.dylib):
>
> dlopen(/Applications/Smalltalk/Cog.app/Contents/Resources/libicui18n.dylib,
> 10): no suitable image found.  Did find:
>
> /Applications/Smalltalk/Cog.app/Contents/Resources/libicui18n.dylib: mach-o,
> but wrong architecture
>
> What does "mach-o, but wrong architecture" mean? 64bits instead of 32 or
> something else?
>

I guess that thing about 32/64. I think I suffered that for DBXTalk....


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20110612/8ac48a4c/attachment-0001.html>


More information about the Pharo-dev mailing list