我在运行 10.5.8 的 Intel Core 2 Duo Macbook 上安装了 SBCL(通过 macports/darwinports)。我已经安装了几个这样的库:
(require 'asdf)
(require 'asdf-install)
(asdf-install:install 'cl-who)
但是当我在下载后尝试以这种方式('clsql
)安装 CLSQL 时,我得到了这个:
...
; 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
有什么我忘记了,或者有什么技巧可以让它在 Mac OS X 上构建吗?这些天我对 Mac 上的 C 库知之甚少,所以我什至不知道从哪里开始。
谢谢!