X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=db-sqlite%2Fsqlite-loader.lisp;h=aa25d5e44d835b34cb5207eb13a0f2bf947acbdf;hb=96f11bcf17e429fca93f990a79d07a2b1d24a1df;hp=1cfcf21ffb675b52a20324907d5cb8be3bac6ff4;hpb=9bbed78051e80e6ab76ae47834136035602bbbf1;p=clsql.git diff --git a/db-sqlite/sqlite-loader.lisp b/db-sqlite/sqlite-loader.lisp index 1cfcf21..aa25d5e 100644 --- a/db-sqlite/sqlite-loader.lisp +++ b/db-sqlite/sqlite-loader.lisp @@ -36,8 +36,9 @@ set to the right path before compiling or loading the system.") t #-clisp (let ((libpath (uffi:find-foreign-library - "libsqlite" - '("/usr/lib/" "/usr/local/lib/") + '("libsqlite" "sqlite") + '(#+64bit "/usr/lib64/" + "/usr/lib/" "/usr/local/lib/" "/bin/") :drive-letters '("C" "D" "E")))) (if (uffi:load-foreign-library libpath :module "sqlite" @@ -46,7 +47,7 @@ set to the right path before compiling or loading the system.") (setq *sqlite-library-loaded* t) (warn "Can't load SQLite library ~A" libpath)))) -(clsql-base:database-type-load-foreign :sqlite) +(clsql-sys:database-type-load-foreign :sqlite)