-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Error: "library containing EVP_EncryptInit... no" #218
Comments
I was able to solve the issue by adding the "-ldl" linker flag. So I ran:
Or from inside of R: install.packages('git2r', configure.args="LIBS=-ldl") This solved the problem. |
@tinyheero Great that you were able to install git2r. I have made several fixes to the configuration in the development version. Could you please help to test that it works to install.
There are several configuration variables you can assign, see
Try to install with
|
Ran the command:
But same errors as before:
The issue isn't that it can't find openssl, but rather the need to create a link against the libdl.so library I think due to the error messages in the config.log.
See this thread for more details. Running:
Resolves this problem (albeit it now complains about no libssh2? Thought it was optional?). In any case, I think the error message is actually misleading... |
@tinyheero The problem is that you should be linking against a shared library of openssl, not the static one. |
It would be nice if git2r used pkg-config to find openssl and the necessary dependent libs. openssl comes with a pkg-config file after all. This would automatically take care of all the issues described here. On a properly configured system(*), one can run Here's what I get on my system, e.g.:
Since git2r uses autoconf, it's easy to add pkg-config support. That's what I'm also willing to help in carrying out the necessary changes. (*) What I mean by that is: If one installs a library to a nonstandard location, one needs to make sure that PKG_CONFIG_PATH contains a corresponding path. |
Hi @Pipping, I agree with you and would appreciate your contribution to add Cheers |
Hi,
I am trying to install git2r on R-3.2.3 on a shared linux machine. After running
install.packages("git2r")
:I installed openssl from source into my
~/usr/local
. I can see the files:I then downloaded the package source git2r_0.13.1.tar.gz, extracted, and then tried to configure with:
But still ran into the same error. Looking into the config.log file, the error message appears:
Any ideas what is wrong?
Thanks
The text was updated successfully, but these errors were encountered: