Julia installing improperly (Fedora 38)

Hello,

I have a fresh install of F38 on a 64-bit x86 Intel machine, on which I’ve installed Julia via sudo dnf install julia. This fetched the following packages:

Installing:
 julia                     x86_64             1.9.0-0.beta4.fc38
Installing dependencies:
 dSFMT                     x86_64             2.2.3-20.fc38
 http-parser               x86_64             2.9.4-8.fc38
 julia-common              noarch             1.9.0-0.beta4.fc38
 libgit2                   x86_64             1.6.3-1.fc38
 openlibm                  x86_64             0.7.5-5.fc38
 p7zip-plugins             x86_64             16.02-25.fc38
 utf8proc                  x86_64             2.7.0-4.fc38

However, when I try to start the Julia REPL, I’m presented with the following error that an OpenBLAS libopenblas64_.so library can’t be found:

[user@fedora ~]$ julia
fatal: error thrown and no exception handler available.
InitError(mod=:OpenBLAS_jll, error=ErrorException("could not load library "libopenblas64_.so"
libopenblas64_.so: cannot open shared object file: No such file or directory"))
ijl_errorf at /usr/bin/../lib64/julia/libjulia-internal.so.1 (unknown line)
ijl_load_dynamic_library at /usr/bin/../lib64/julia/libjulia-internal.so.1 (unknown line)
unknown function (ip: 0x7f69f4d9ce78)
unknown function (ip: 0x7f69f4740602)
unknown function (ip: 0x7f69f4740888)
unknown function (ip: 0x7f6a1647f9ff)
unknown function (ip: 0x7f6a164692eb)
jl_repl_entrypoint at /usr/bin/../lib64/julia/libjulia-internal.so.1 (unknown line)
main at julia (unknown line)
__libc_start_call_main at /usr/bin/../lib64/libc.so.6 (unknown line)
__libc_start_main at /usr/bin/../lib64/libc.so.6 (unknown line)
_start at julia (unknown line)

I attempted to fix this by identifying a package which would contain this library via dnf provides 'libopenblas*' and installed the matching package openblas-serial64_, but the error persists.

From reading online, I understand that Julia can be distributed with it’s own internal copy of OpenBLAS, but I’m not sure how I would test if that is properly configured in this case. If anyone has thoughts on how I might investigate further, I would be very grateful.

It appears this is likely an issue with the way Julia was compiled and packaged, based on these posts across the web: 1, 2, 3, 4

For the time being, I’ve downloaded the official prebuilt stable release from the Julia project website, but in the long term, I’d like to use the version distributed by Fedora. If it turns out to be a packaging bug, I’m happy to file a bug report.

Thanks!

please file a bug, How to file a bug :: Fedora Docs

Thanks

1 Like

Thank you for the instruction @grumpey. I filed a bug report here: https://bugzilla.redhat.com/show_bug.cgi?id=2187970

I’ve never submitted a bug report before; if you have a moment, would you mind looking it over? I’d like to make the developers life as easy a possible. :+1:

4 Likes

Thanks for filing the bug report. It’s exemplary.

1 Like