I have compiled sqlite 3.2.1 with the --enable-shared option (using configure) which results in a file /usr/local/lib/libsqlite.so.8.6
Whenever I load the sqlite.lsp program, I get the following error message:
Code: Select all
Can't open file
problem loading library in function import : "/usr/local/lib/libsqlite.so.8.6"
Code: Select all
(load "/usr/local/lib/libsqlite.so.8.6" "sqlite3_open" "cdecl")
nil
I've considering trying the SQLite 2.x series, but would prefer to run 3.1 or higher for some functionality I would like to use.
Any ideas from someone who has made this work?
As a side-note, the sql function/define fails on OS X when attempting to perform any sql command:
Code: Select all
> (sql3 "select * from mytable;")
invalid function : (sql3 "select * from mytable;")
;; (sql3 "select * from mytable;") ; makes a sql query, returns result