为什么CCL不能加载hunchentoot?

为什么CCL不能加载hunchentoot?,hunchentoot,ccl,Hunchentoot,Ccl,SBCL可以成功加载hunchentoot。然而,CCL报告说: ? (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

SBCL可以成功加载hunchentoot。然而,CCL报告说:

? (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

任何建议都将不胜感激

它正在寻找您没有的SSL库版本。一个简单的纠正方法(我还没有测试库本身的正确行为)是用符号链接它。在shell中运行以下命令:

找到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替换为您已安装的版本。

如果您不需要ssl(或将使用Apache),您可以

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

(ql:quickload 'hunchentoot)

在我的freebsd框中,有一个链接:/usr/lib/libssl.so@->libssl.so.6,但是为什么CCL找不到/usr/lib/libssl.so?对不起,我的错误。(推送:HUNCHENTOOT-NO-SSL*功能)。冒号,不是单引号。太好了,还有一个潜在的hunchentoot,呃:)别忘了标记为答案。谢谢:)如果您需要更多关于安装的信息,请随时联系。我目前已经在ubuntu、centos和windows上安装了hunchentoot(工作中)。我遇到并解决了一些问题,也许我能帮点忙。不客气!现在我只使用hunchentoot cgi来运行一个旧的python cgi应用程序。它工作得很好。也许我将来会使用hunchentoot来托管其他web应用程序。我无意中来到这里,并注意到我的回答中有两个错误:第一,您应该使用#:hunchentoot或“hunchentoot”作为包名。第二,它是*功能*,而不是*功能(尽管它是一个打字错误)。