Question

SBCL can load hunchentoot successfully. However, the CCL reported:

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

Any suggestion is appreciated!

Était-ce utile?

La solution

If you don't need ssl (or will use Apache for this), you can

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

and then

(ql:quickload 'hunchentoot)

Autres conseils

It is looking for a version of SSL library you don't have. An easy way to correct it (I haven't tested the proper behavior of the library itself) is symbolic linking it. Run these in your shell:

locate libssl

It should return something like:

/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

The one you want is most certainly /usr/lib/x86_64-linux-gnu, or similar, depending on your platform.

Then create the symbolic link:

ln -s libssl3.so libssl.so

replacing libssl3.so with the version you have installed.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top