From: kmb
Subject: Unable to asdf-install clsql in OpenMCL on Mac OS X
Date: 
Message-ID: <1130690085.715901.206980@f14g2000cwb.googlegroups.com>
When I run asdf-install, I get the following errors:

#P"/usr/local/asdf-install/site/clsql-3.3.2/"
#P"/usr/local/asdf-install/site/clsql-3.3.2/" ;;; ASDF-INSTALL: Loading
system "clsql-aodbc" via ASDF.
; loading system definition from
/usr/local/asdf-install/site-systems/clsql-aodbc.asd into #<Package
"ASDF269">
; registering #<SYSTEM CLSQL-AODBC #x83F705E> as CLSQL-AODBC
;;; ASDF-INSTALL: Loading system "clsql-db2" via ASDF.
; loading system definition from
/usr/local/asdf-install/site-systems/clsql-db2.asd into #<Package
"ASDF270">
; registering #<SYSTEM CLSQL-DB2 #x83F075E> as CLSQL-DB2
; loading system definition from
/usr/local/asdf-install/site-systems/clsql-uffi.asd into #<Package
"ASDF271">
; loading system definition from
/usr/local/asdf-install/site-systems/uffi.asd into #<Package "ASDF272">
; registering #<SYSTEM UFFI #x83E5B36> as UFFI
; registering #<SYSTEM CLSQL-UFFI #x84C4056> as CLSQL-UFFI
; loading system definition from
/usr/local/asdf-install/site-systems/clsql.asd into #<Package
"ASDF283">
; registering #<SYSTEM CLSQL #x84DBB8E> as CLSQL
; $ cd /usr/local/asdf-install/site/clsql-3.3.2/uffi/; make
BASE=clsql_uffi OBJECT=clsql_uffi.o SOURCE=clsql_uffi.c
SHARED_LIB=clsql_uffi.so LDFLAGS="-lc" sh make.sh
rm clsql_uffi.o
; Warning: Error opening shared library "clsql_uffi.dylib": image not
found
; While executing: FIND-AND-LOAD-FOREIGN-LIBRARY
; Warning: Error opening shared library "libdb2.dylib": image not found
; While executing: FIND-AND-LOAD-FOREIGN-LIBRARY
; Warning: Error opening shared library "libdb2.bundle": image not
found
; While executing: FIND-AND-LOAD-FOREIGN-LIBRARY
> Error in process listener(1): Couldn't load foreign library "libdb2". (searched *FOREIGN-LIBRARY-SEARCH-PATHS*)
> While executing: FIND-AND-LOAD-FOREIGN-LIBRARY
> Type :POP to abort.

Any thoughts?  Do I need to have some DB2 client driver installed?  I
looked through the code and didn't see where it was trying to load this
library from, but I am still somewhat new to lisp.

Thanks,
Kevin
From: Kevin Rosenberg
Subject: Re: Unable to asdf-install clsql in OpenMCL on Mac OS X
Date: 
Message-ID: <slrndmf0ue.au2.kevin@tiger.med-info.com>
On 2005-10-30, kmb <···········@gmail.com> wrote:
> When I run asdf-install, I get the following errors:

asdf-install tries to compile all of the *.asd files found in the
tarball it downloads. In CLSQL's case, that means trying to compile
all of the SQL backends -- this will fail if you don't have the shared
libraries for all of the backends on your system. This includes MySQL,
Postgresql, ODBC, Oracle, and DB2. Unless you have all these shared
libraries installed, I'd recommend against using asdf-install for CLSQL.

Kevin