Page MenuHomeSolus

Julia warning about missing libraries
Closed, ResolvedPublic

Description

When launching julia it complains about being unable to load libgmp.so and libmpfr.so with the following warning:

WARNING: Error during initialization of module GMP:
ErrorException("could not load library "libgmp"
libgmp.so: cannot open shared object file: No such file or directory")
WARNING: Error during initialization of module MPFR:
ErrorException("could not load library "libmpfr"
libmpfr.so: cannot open shared object file: No such file or directory")

However, both gmp and mpfr are installed. The warnings disappear if I run eopkg it -c system.devel, but I don't know what exactly is missing.

Event Timeline

algent added a subscriber: algent.EditedFeb 8 2021, 8:07 AM

libgmp.so is a file from gmp-devel and libmpfr.so is from mpfr-devel. You don't need the whole system.devel component installed.

Probably they should be added to Julia rundeps, same as the other devel packages Julia depends on.

Girtablulu triaged this task as Normal priority.Feb 8 2021, 10:11 AM
Girtablulu edited projects, added Software; removed Lacks Project.
Girtablulu moved this task from Backlog to Package Fixes on the Software board.