[Openmcl-devel] Intermittent FFI problem
tom at logand.com
Fri Apr 1 07:04:46 PDT 2016
Ron Garret <ron at flownet.com> writes:
> and it does not seem to respect cffi:*foreign-library-directories*.
> No matter when I set that to, it picks up the outdated libssl in
Not sure how does this work on darwin, but on Linux, I find it more
convenient to properly configure LD_LIBRARY_PATH and on windows PATH
> The problem is that Drakma uses CL+SSL, which uses libssl
cl+ssl is rather fragile and when I had similar problems, what worked
best for me was to remove it completely.
I simply call openssl program from lisp in the background and wrap the
input and output streams as a custom gray stream. I had to slightly
modify drakma to use my custom stream. It works very well both on linux
and windows, it uses whatever openssl program is in the PATH and I don't
have to deal with ffi issues anymore.
Hope it helps,
More information about the Openmcl-devel