sqlitecommon-lispsbclquicklispclsql

Installing clsql sqlite3 using SBCL + quicklisp


I want to use the sqlite3 interface of clsql. I already install clsql using quicklisp. But when I try to run:

(clsql:with-database (db '("database.db") 
                          :database-type :sqlite3)
  nil)

I get

OPERATION-ERROR while invoking #<COMPILE-OP > on
#<CLSQL-UFFI-SOURCE-FILE "clsql-uffi" "uffi" "clsql_uffi">
   [Condition of type ASDF/BACKWARD-INTERFACE:OPERATION-ERROR]

It is the same if I just try to quicklisp clsql-uffi.

cl-sql,cl-sql-uffi,cl-sql-sqlite3 and libsqlite3-dev are installed. I am using Ubuntu,Linux.


Solution

  • Edit: Separated the problem topics more clearly.

    Installing CLSQL is not always straightforward.