-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
julia build error on redhat #20044
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
Comments
What RedHat distribution exactly? Also, please post a longer log excerpt somewhere (e.g. as a GitHub gist). |
These are the following versions I own:
|
Looks like |
What should I do to check if it isnt being passed? |
I'm not entirely sure. It isn't something that the user should have to be doing; it should be in a makefile somewhere. Are you building Julia from the master branch? If you do |
Does this mean it worked?
|
It didn't work. This is the error I get when I run make install
|
|
|
anybody? |
Is there a way to specify the location of libgit2 when running make? |
I don't think there are any compile-time dependencies on libgit, so setting (related: #17920) |
In particular, the libgit2 in your home directory is at the front of your |
I tried doing USE_SYSTEM_LIBGIT2 and Julia seems to build ok. However, now when I try installing a package like DataFrames I get the following error:
I believe its not detecting the right path for libgit2. Any suggestions? |
You need a proper root cert, and your libgit2 build needs to know where to find it. Look at the first page or two of |
Its not building properly if I don't do it separately. I get the error I mentioned in my first post in this thread. If you have any recommendations of fixing that, I would love to hear it. I would rather fix that then figure out how to build libgit2 separately. |
Try adding Going forward, mbedtls is the preferred encryption SSL library on Linux, see #18658. But I think that came in just after the 0.5 release and has not been back-ported. You could try cherry-picking the commit. In the future please ask build questions on Discourse. |
We don't have a minimum version requirement on openssl, libgit2 should be able to build against any old system version. |
Yes I am building the 0.5 release against my own OPENSSL because the system version is too old. I know you guys don't have a minimum version requirement, but I was having issues building CMAKE with the old version. Also, I was able to install Julia by adding the -ldl flag in the libgit2.mk file. I still get the package error I mentioned earlier. There is a high likelihood the issue might be with the SSL certificate. I am ok for now just using Julia on my system. I just need to run my code on several hundred cores, and I do not think it will be an issue. I can always manually install the packages (if I need them). Thank you guys for helping me. |
ah good point cmake may have a minimum version requirement on openssl that's stricter than libgit2. I usually use cmake's binaries if I'm on a system where the distro copy is too old, rather than building cmake from source. |
I tried everything possible but I can't figure out why I am getting this error:
The text was updated successfully, but these errors were encountered: