r9325: * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
[clsql.git] / db-postgresql / postgresql-loader.lisp
index 420c97a56ce5dedfcd2fcd0e182fe4af069320dc..169588f742e02fabb4d4992a66a051e8296aa3f3 100644 (file)
@@ -36,6 +36,7 @@ set to the right path before compiling or loading the system.")
   (let ((libpath (uffi:find-foreign-library 
                  "libpq"
                  '("/opt/postgresql/lib/" "/usr/local/lib/" 
+                   #+64bit "/usr/lib64/"
                    "/usr/lib/" "/postgresql/lib/"
                    "/usr/local/pgsql/lib/" "/usr/lib/pgsql/"
                    "/opt/pgsql/lib/pgsql" "/sw/lib/pgsql/")