r9336: 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
[clsql.git] / db-sqlite / sqlite-loader.lisp
index 65d4d5354aa57c8bd2e3ca2453f1af89a9c0f49e..d6254737b26004984cfef4774b1d05438164de6f 100644 (file)
@@ -16,7 +16,7 @@
 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
 ;;;; *************************************************************************
 
-(in-package :clsql-sqlite)
+(in-package #:clsql-sqlite)
 
 (defvar *sqlite-supporting-libraries* '("c")
   "Used only by CMU. List of library flags needed to be passed to ld
@@ -37,7 +37,8 @@ set to the right path before compiling or loading the system.")
   #-clisp
   (let ((libpath (uffi:find-foreign-library
                  "libsqlite"
-                 '("/usr/lib/" "/usr/local/lib/")
+                 '(#+64bit "/usr/lib64/"
+                   "/usr/lib/" "/usr/local/lib/")
                  :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-sys:database-type-load-foreign :sqlite)
+(clsql-sys:database-type-load-foreign :sqlite)