Installation fails due to SSL error.
#52
Closed
opened 9 years ago by makzan
·
13 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
I was trying to install pollen and faced an error when the process tries to download the pollen from github over SSL.
I didn’t faced the same issue before when I was install in in another linux box. This seems to be a new issue on the installation.
How can I reproduce this error? I just did
raco pkg install pollen
on OS X and it worked fine using thehttps://
URL (meaning, I wonder if it was a temporary glitch on the Github side)I have checked the difference between my previous working installation and the new one. I chose the wrong platform in the racket download page. I am in x86_64 and installed the i386 version. Re-installing the right one solves the issue.
By the way, thanks a lot for open sourcing the Pollen. I agree with your idea of a book is a program. I’m now learning Racket in order to learn more about the behind-the-scenes of Pollen.
On a fresh Linux installation I compiled the latest Racket myself, then the first thing I did was
raco pkg install pollen
and I got almost exactly the same error as @makzan:(The only difference is that the requested protocol is
'auto
instead of'sslv2-or-v3
). The machine is x86_64 and the configure script recognized it as such. I wonder if this is an issue with Racket on Linux or with Pollen.Sorry about the trouble. I’m pretty sure the problem isn’t Pollen, since it hasn’t been installed yet. The error is arising at an earlier stage, from
ssl-connect
.One alternative is to try installing from a snapshot build (rather than compiling from scratch) and see if that makes a difference.
Beyond that, this looks like it might be related to
933a71ce71
, so maybe @rmculpepper will weigh in.@rbonvall: What is the version of Linux? Also, can you run the following at a racket repl and report what it prints in response?
It looks like the
SSLv23_*_method
functions were (recently?) deprecated; they may have been removed or replaced with macros in the version of openssl you have.@rmculpepper It's Fedora 21, kernel 3.17.4-301.fc21.x86_64.
@rbonvall, thanks. I'm surprised the last part didn't work. Can you find the version of openssl you have installed through the package manager? And one more thing to try:
@rmculpepper openssl package version is 1.0.1j:
Your snippet returns false:
@rbonvall, thanks, I'm a bit baffled. I'll look at the openssl source and maybe make a VM to figure this out later when I get a chance. One more thing to try first:
@rmculpepper It's clear now:
I'll try installing libcrypto.so and see what happens.
I suspect the problem is in openssl/libcrypto.rkt: it doesn't list "1.0.1j" in the library version search list---if that's even the right suffix. What does running
locate libcrypto.so
on your system turn up under /lib or /usr/lib?A workaround is to install the development package ("openssl-devel", maybe), which will install a version-less symlink to the current version of the library, which Racket should find.
@rmculpepper: Installing openssl-devel solved the problem. Thanks for your patience!
libcrypto.so
was not there neither under/lib
nor/usr/lib
.@mbutterick: Sorry for hijacking the issue with my Racket problems :) Can't wait to start playing with pollen.
(@rmculpepper: after installing openssl-devel,
libcrypto.so
was put under/usr/lib64
.)