I made the following small change. This changes the library name from "lib_sql.so" to simply "lib_sql". This makes everything work properly on both Linux and OSX:
https://github.com/lokedhs/apl-sqlite/commit/3b5c12ca3a465728ac909c91f705a9c1000c524f Regards, Elias
