Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73102 - [julia] Arpack does not build

Attached to Project: Community Packages
Opened by Kostas Kardaras (coxackie) - Tuesday, 21 December 2021, 02:21 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 21 December 2021, 07:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Not sure if upstream or packaging bug, but as of julia 1.7.0-1, the Arpack package does not build. once one adds it, and then "using Arpack" results in

```
[ Info: Precompiling Arpack [7d9fca2a-8960-54d3-9f78-7d1dccf2cb97]
ERROR: LoadError: InitError: could not load library "/home/coxackie/.julia/artifacts/a07ca23fc45868aa2f1c602061add992ff482462/lib/libarpack.so"
libopenblas64_.so: cannot open shared object file: No such file or directory
Stacktrace:
[1] __init__()
@ Arpack_jll ~/.julia/packages/Arpack_jll/V7Qow/src/wrappers/x86_64-linux-gnu-libgfortran5.jl:43
[2] top-level scope (repeats 2 times)
@ none:1
during initialization of module Arpack_jll
in expression starting at /home/coxackie/.julia/packages/Arpack/o35I5/src/Arpack.jl:2
ERROR: Failed to precompile Arpack [7d9fca2a-8960-54d3-9f78-7d1dccf2cb97] to /home/coxackie/.julia/compiled/v1.7/Arpack/jl_V8oLTJ.
```

For reference, `libopenblas64_.so` does exist in `/usr/lib/julia`.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 21 December 2021, 07:57 GMT
Reason for closing:  Deferred
Comment by Antonio Rojas (arojas) - Tuesday, 21 December 2021, 07:57 GMT
This is a known incompatibility caused by julia trying to use a precompiled arpack library instead of the system version. Workarounds:
1) sudo ln -s libopenblas.so /usr/lib/libopenblas64_.so
2) export LD_LIBRARY_PATH=/usr/lib/julia

That will allow it to load, but it's not guaranteed to work since it is still built against different libraries. The actual solution to this would be to create an AUR julia-arpack package which builds from source.

Loading...