Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install CLSQL on Mac OS X

I have SBCL installed (via macports/darwinports) on my Intel Core 2 Duo Macbook running 10.5.8. I've installed several libraries like this:

(require 'asdf)
(require 'asdf-install)
(asdf-install:install 'cl-who)

But when I tried to install CLSQL this way ('clsql) after it downloaded, I got this:

...
; registering #<SYSTEM CLSQL-UFFI {123D9E01}> as CLSQL-UFFI
; $ cd /Users/ken/.sbcl/site/clsql-5.0.5/uffi/; make
cc -arch x86_64 -arch i386 -bundle /usr/lib/bundle1.o -flat_namespace -undefined suppress clsql_uffi.c -o clsql_uffi.dylib
ld: duplicate symbol dyld_stub_binding_helper in /usr/lib/bundle1.o and /usr/lib/bundle1.o for architecture i386
ld: duplicate symbol dyld_stub_binding_helper in /usr/lib/bundle1.o and /usr/lib/bundle1.o for architecture x86_64
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/Nf/Nf4o5ArDFaWBH2OwtnWM3E+++TQ/-Tmp-//ccJyZxou.out (No such file or directory)
make: *** [clsql_uffi.so] Error 1

Is there something I forgot, or some trick to get it to build on Mac OS X? I know very little about C libraries on the Mac these days, so I don't even know where to start on this.

Thanks!

like image 660
Ken Avatar asked Nov 05 '22 14:11

Ken


1 Answers

It might be a lot easier to use Quicklisp insteak of a "naked" ASDF. Take a look at https://www.quicklisp.org/beta/

like image 117
wlbr Avatar answered Nov 12 '22 17:11

wlbr