r9490: fix for odbc/postgresql bigint strings
[clsql.git] / db-sqlite / sqlite-loader.lisp
index 1cfcf21ffb675b52a20324907d5cb8be3bac6ff4..aa25d5e44d835b34cb5207eb13a0f2bf947acbdf 100644 (file)
@@ -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)