On Fri, Feb 13, 2015 at 06:07:07PM +0100, Stephan Eggermont wrote: > What should be done to make this work on OS X? > UnQLiteFFI>>libraryFileNameForPlatform > has a wrong name, but that doesn't help me. > Even after renaming the library cannot be found.
Smalltalk side, version 12/23/2013 by Masashi Umezawa: libraryFileNameForPlatform | platformClass | platformClass := NativeBoost forCurrentPlatform class. platformClass = NativeBoostMac32 ifTrue: [^'unqlite.dylib']. platformClass = NativeBoostWin32 ifTrue: [^'unqlite.dll']. platformClass = NativeBoostLinux32 ifTrue: [^'unqlite.so']. ^'unqlite' OSX side, place the file unqlite.dylib in Pharo.app/Contents/MacOS/Plugins. This worked for me in a Pharo 2.0 image and Jan 2014 VM. Pierce