I have SBCL installed (via macports / darwinports) on my Intel Core 2 Duo Macbook with 10.5.8. I installed several such libraries:
(require 'asdf)
(require 'asdf-install)
(asdf-install:install 'cl-who)
But when I tried to install CLSQL this way ( 'clsql) after loading it, I got the following:
...
; registering
; $ 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 kind of trick to make it work on Mac OS X? These days, I know little about C libraries on Mac, so I don’t even know where to start.
Thank!
source
share