我在运行 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 库知之甚少,所以我什至不知道从哪里开始。
谢谢!
最佳答案
使用 Quicklisp 代替“裸”ASDF 可能要容易得多。看看https://www.quicklisp.org/beta/
关于macos - 在 Mac OS X 上安装 CLSQL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2573347/