r9574: Remove loading of unnecessary zlib library
[clsql.git] / db-mysql / mysql-loader.lisp
index f61223a503e7a94c0e8879f8895eac553f53cb4d..bd972f48d73f6909c174d20f9acbddc88234d058 100644 (file)
      "/sw/lib/clsql/")
    :drive-letters '("C")))
 
-(defparameter *libz-library-path* 
-  (uffi:find-foreign-library
-   '("libz" "zlibwapi" "zlib")
-   `(,(make-pathname :directory (pathname-directory *load-truename*))
-     #+64bit "/usr/lib64/"
-     "/usr/lib/"
-     "/sw/lib/"
-     "/usr/local/lib/"
-     "/bin/"
-     "/mysql/lib/dll32/"
-     "/mysql/lib/opt/")
-   :drive-letters '("C")))
-  
 (defvar *mysql-library-candidate-names*
     '("libmysqlclient" "libmysql"))
 
@@ -69,7 +56,6 @@ set to the right path before compiling or loading the system.")
                                    *mysql-library-candidate-drive-letters*)))
     (unless (probe-file mysql-path)
       (error "Can't find mysql client library to load"))
-    (uffi:load-foreign-library *libz-library-path*) 
     (uffi:load-foreign-library mysql-path
                               :module "mysql" 
                               :supporting-libraries