From: Kevin M. Rosenberg Date: Tue, 14 May 2002 16:15:24 +0000 (+0000) Subject: r2042: Debian build X-Git-Tag: v3.8.6~1068 X-Git-Url: http://git.kpe.io/?p=clsql.git;a=commitdiff_plain;h=e13d17f714f9cff42ae60fb84366f3dd565c0201 r2042: Debian build --- diff --git a/interfaces/mysql/mysql-loader.cl b/interfaces/mysql/mysql-loader.cl index 408beba..35dfb10 100644 --- a/interfaces/mysql/mysql-loader.cl +++ b/interfaces/mysql/mysql-loader.cl @@ -7,7 +7,7 @@ ;;;; Programmers: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: mysql-loader.cl,v 1.9 2002/05/14 16:10:55 kevin Exp $ +;;;; $Id: mysql-loader.cl,v 1.10 2002/05/14 16:15:24 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -76,8 +76,7 @@ set to the right path before compiling or loading the system.") (uffi:load-foreign-library (uffi:find-foreign-library '("libz" "zlib") '("/usr/lib/" "/usr/local/" "/lib/"))) - (when - (and + (if (and (uffi:load-foreign-library mysql-path :module "mysql" :supporting-libraries @@ -86,7 +85,9 @@ set to the right path before compiling or loading the system.") :module "clsql-mysql" :supporting-libraries (append *mysql-supporting-libraries*))) - (setq *mysql-library-loaded* t)))) + (setq *mysql-library-loaded* t) + (warn "Unable to load MySQL client library ~A or CLSQL-MySQL library ~A" + mysql-path clsql-mysql-library-filename)))) (clsql-sys:database-type-load-foreign :mysql)