Cannot build 9.8 on Arch Linux

51 views
Skip to first unread message

Ana Pavlaković

unread,
Feb 28, 2023, 2:24:36 PM2/28/23
to sage-support
When running make -s V=0
I get the following error:

[sagelib-9.8.beta6] installing. Log file: /home/ana_pavlakovic/sage/logs/pkgs/sagelib-9.8.beta6.log
  [sagelib-9.8.beta6] error installing, exit status 1. End of log file:
  [sagelib-9.8.beta6]       and make sure that they are the versions you expect.
  [sagelib-9.8.beta6]       Please carefully study the documentation linked above for further help.
  [sagelib-9.8.beta6]  
  [sagelib-9.8.beta6]       Original error was: libopenblas.so.3: cannot open shared object file: No such file or directory
  [sagelib-9.8.beta6]  
  [sagelib-9.8.beta6]       ************************************************************************
  [sagelib-9.8.beta6]       Error building the Sage library
  [sagelib-9.8.beta6]       ************************************************************************
  [sagelib-9.8.beta6] Full log file: /home/ana_pavlakovic/sage/logs/pkgs/sagelib-9.8.beta6.log
make[4]: *** [Makefile:3227: sagelib-SAGE_VENV-no-deps] Error 1
make[3]: *** [Makefile:3227: /home/ana_pavlakovic/sage/local/var/lib/sage/venv-python3.10/var/lib/sage/installed/sagelib-9.8.beta6] Error 2
make[2]: *** [Makefile:2731: all-start] Error 2

real 0m6.339s
user 0m4.919s
sys 0m0.703s
***************************************************************
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):

* package:         sagelib-9.8.beta6
  last build time: Feb 28 14:14
  log file:        /home/ana_pavlakovic/sage/logs/pkgs/sagelib-9.8.beta6.log

It is safe to delete any log files and build directories, but they
contain information that is helpful for debugging build problems.
WARNING: If you now run 'make' again, the build directory of the
same version of the package will, by default, be deleted. Set the
environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.

make[1]: *** [Makefile:40: all-start] Error 1
make: *** [Makefile:13: all] Error 2

The relevant log file is attached.

Things I have done to try and fix this:
1. Re-run everything (including pulling again from git)
2. Making sure that all packages, which are suggested to be installed when running ./configure, are indeed installed.
3. I have openblas (the package for arch linux) installed (and up to date).
sagelib-9.8.beta6.log

Dima Pasechnik

unread,
Mar 1, 2023, 3:59:25 AM3/1/23
to sage-support
Dear Ana
You're building a beta version - no guarantees it would work at all. Please try the released 9.8.

The error is (cf your log)
ImportError: libopenblas.so.3: cannot open shared object file: No such file or directory
points to problems with OpenBLAS.
Can we see config.log?

Did you follow recommendations printed at the end of ./configure run?

HTH
Dima

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages