2011-12-29 48 views
4

SBCL可以成功加载hunchentoot。然而,CCL报道:CCL为什么不能加载hunchentoot?

? (ql:quickload :hunchentoot) 
To load "hunchentoot": 
Load 1 ASDF system: 
hunchentoot 
; Loading "hunchentoot" 
> Error: Unable to load any of the alternatives: 
>   ("libssl.so.0.9.8" "libssl.so" "libssl.so.4") 
> While executing: CFFI::FL-ERROR, in process listener(1). 
> Type :POP to abort, :R for a list of available restarts. 
> Type :? for other options.nter code here 

任何建议表示赞赏!

回答

7

如果您不需要SSL(或将使用Apache这个),你可以

(push :hunchentoot-no-ssl *features*) 

然后

(ql:quickload 'hunchentoot) 
+0

它仍然没有工作! – 2012-02-28 00:25:19

+1

对不起,我的错。 (推:HUNCHENTOOT-NO-SSL *功能)。冒号,而不是单引号。 – 2012-02-28 20:24:47

+1

好吧,它没有SSL的工作。 – 2012-03-01 00:02:19

3

它正在寻找一个版本的SSL库你没有。一个简单的方法来纠正它(我没有测试库本身的正确行为)是符号链接它。在你的shell中运行这些:

locate libssl

应该返回类似:

/lib/i386-linux-gnu/libssl.so.1.0.0 
/lib/x86_64-linux-gnu/libssl.so.1.0.0 
/usr/lib/firefox-8.0/libssl3.so 
/usr/lib/i386-linux-gnu/libssl.so.1.0.0 
/usr/lib/thunderbird-8.0/libssl3.so 
/usr/lib/x86_64-linux-gnu/libssl.so 
/usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 
/usr/lib/x86_64-linux-gnu/libssl3.so 
/usr/lib/x86_64-linux-gnu/libssl3.so.1d 

你想要的肯定是/usr/lib目录/ x86_64的Linux的GNU的,或类似,这取决于你的平台。

然后创建符号链接:

ln -s libssl3.so libssl.so

与您已安装的版本替换libssl3.so。

+0

在我的FreeBSD中,有一个环节:在/ usr/lib/libssl.so @ - > libssl.so.6,但为什么CCL找到/usr/lib/libssl.so? – 2012-01-05 00:14:01