Skip to content
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 error with libgfortran.so.5 #9

Closed
maleadt opened this issue Jul 2, 2018 · 2 comments
Closed

Build error with libgfortran.so.5 #9

maleadt opened this issue Jul 2, 2018 · 2 comments

Comments

@maleadt
Copy link

maleadt commented Jul 2, 2018

(v0.7) pkg> build Arpack
  Building Arpack → `~/Julia/depot/packages/Arpack/8rPU/deps/build.log`
┌ Error: Error building `Arpack`: 
│ ERROR: LoadError: LibraryProduct(nothing, ["libarpack"], :libarpack, "Prefix(/home/tbesard/Julia/depot/packages/Arpack/8rPU/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│  [1] error at ./error.jl:33 [inlined]
│  [2] #write_deps_file#134(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /home/tbesard/Julia/depot/packages/BinaryProvider/mWAR/src/Products.jl:392
│  [3] write_deps_file(::String, ::Array{LibraryProduct,1}) at /home/tbesard/Julia/depot/packages/BinaryProvider/mWAR/src/Products.jl:379
│  [4] top-level scope at none:0
│  [5] include at ./boot.jl:317 [inlined]
│  [6] include_relative(::Module, ::String) at ./loading.jl:1034
│  [7] include(::Module, ::String) at ./sysimg.jl:29
│  [8] include(::String) at ./client.jl:393
│  [9] top-level scope at none:0
│ in expression starting at /home/tbesard/Julia/depot/packages/Arpack/8rPU/deps/build.jl:40
└ @ Pkg.Operations Operations.jl:973

shell> ldd /home/tbesard/Julia/depot/packages/Arpack/8rPU/deps/usr/lib/libarpack.so.2.0.0
        linux-vdso.so.1 (0x00007ffe23d82000)
        libopenblas64_.so.0 => not found
        libgfortran.so.4 => not found
        libm.so.6 => /usr/lib/libm.so.6 (0x00007fe2da67f000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fe2da467000)
        libquadmath.so.0 => /usr/lib/libquadmath.so.0 (0x00007fe2da226000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007fe2d9e6a000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x00007fe2dac6b000)

julia> Libdl.dlopen("libgfortran")
Ptr{Nothing} @0x00000018df9a7e80

julia> Libdl.dlpath(ans)
"/usr/lib/libgfortran.so.5"

This on Arch Linux

@maleadt
Copy link
Author

maleadt commented Jul 2, 2018

@andreasnoack
Copy link
Member

Dup of #5. I think you should be able to work around this if you rebuild OpenBLAS with GCC 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants