我在运行10.5.8的Intel Core 2 Duo Macbook上安装了SBCL(通过macports/darwinport)。我已经安装了几个库是这样的:在Mac OS X上安装CLSQL
(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来处理instalations? – PuercoPop 2012-10-27 18:39:06
应该注意'asdf-install'在这一点上被视为弃用。我能够使用'quicklisp'来解决类似的情况。 – cwallenpoole 2015-02-02 17:24:38