-
Notifications
You must be signed in to change notification settings - Fork 100
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
Build issue: Provider BuildProcess failed to satisfy dependency libopenspecfun #162
Comments
Maybe related to JuliaPackaging/BinaryProvider.jl#153 However, I get julia> BinaryProvider.detect_libstdcxx_abi()
┌ Warning: Cannot make sense of autodetected libstdc++ ABI version ('3.4.0')
└ @ BinaryProvider /p/project/chku27/hku273/.julia-mkl/packages/BinaryProvider/TcAwt/src/PlatformNames.jl:624
:gcc_any both with the self-compiled MKL julia and the regular binaries. |
Julia MKL: julia> BinaryProvider.detect_compiler_abi()
┌ Warning: Cannot make sense of autodetected libstdc++ ABI version ('3.4.0')
└ @ BinaryProvider /p/project/chku27/hku273/.julia-mkl/packages/BinaryProvider/TcAwt/src/PlatformNames.jl:624
CompilerABI(:gcc_any, :cxx11)
julia> BinaryProvider.detect_libgfortran_abi()
:gcc_any Julia binaries julia> BinaryProvider.detect_compiler_abi()
CompilerABI(:gcc7, :cxx11)
julia> BinaryProvider.detect_libgfortran_abi()
:gcc7 Why the difference and why don't I get |
Alright I traced the issue down to https://github.com/JuliaPackaging/BinaryProvider.jl/blob/20c5140935276fdf1807866b2ab7898bebb21c96/src/PlatformNames.jl#L578 function detect_libgfortran_abi()
libgfortran_paths = filter(x -> occursin("libgfortran", x), dllist())
if isempty(libgfortran_paths)
# One day, I hope to not be linking against libgfortran in base Julia
return :gcc_any
end
return detect_libgfortran_abi(first(libgfortran_paths))
end Julia MKL julia> libgfortran_paths = filter(x -> occursin("libgfortran", x), dllist())
0-element Array{AbstractString,1} Julia binaries julia> libgfortran_paths = filter(x -> occursin("libgfortran", x), dllist())
1-element Array{AbstractString,1}:
"/p/project/chku27/hku273/software/julia/1.1.0/bin/../lib/julia/libgfortran.so.4" The question is why.... |
@staticfloat any ideas? |
Is your Julia not linked against |
I am also affected by this, but my installation from source is not using MKL. Actually, this pops up when precompiling |
Looking at this in more detail, I have noticed that |
I just helped a user track down a complex problem with
Your platform should match this one; because this package does not have any dependency on |
@staticfloat Yes, correct. Wiping the |
Same here, build from source success (gcc-7.4.0, gfortran-7.4.0, julia-1.1.0 from nixpkgs), but load failure. |
May be related. I encountered similar problems even on precompiled linux binaries (v1.4.1, running on Ubuntu 20.04), but with MKL backend for BLAS.
The thing, that allowed me to import it is to load
I have not properly tested the functionality of SpecialFunctions, but the |
Julia 1.1.0 built from source, linked against MKL, in a fresh environment:
(My gcc version is 8.3.0)
Building the package works on the same machine using the binaries from the website.
Any help is much appreciated!
The text was updated successfully, but these errors were encountered: