;;;; Programmers: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
-;;;; $Id: clsql-uffi-loader.cl,v 1.5 2002/05/14 16:03:52 kevin Exp $
+;;;; $Id: clsql-uffi-loader.cl,v 1.10 2002/05/14 16:51:06 kevin Exp $
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
(defvar *clsql-uffi-library-filename*
(uffi:find-foreign-library
- :names "clsql-uffi"
- :directories
- (translate-logical-pathname
- "CL-LIBRARY:clsql;interfaces;clsql-uffi;clsql-uffi.so")
- "/usr/share/common-lisp/source/clsql/interfaces/clsql-uffi/"))
+ "clsql-uffi"
+ `(,(translate-logical-pathname
+ "CL-LIBRARY:clsql;interfaces;clsql-uffi;")
+ "/usr/share/common-lisp/source/clsql/interfaces/clsql-uffi/")))
(defvar *clsql-uffi-supporting-libraries* '("c")
"Used only by CMU. List of library flags needed to be passed to ld to
:supporting-libraries
*clsql-uffi-supporting-libraries*)
(setq *uffi-library-loaded* t)
- (warn "Unable to load helper library ~A (~S)" *clsql-uffi-library-filename*
- (logical-pathname-translations "CL-LIBRARY"))))
+ (warn "Unable to load helper library ~A" *clsql-uffi-library-filename*)))
(load-uffi-foreign-library)