On Mon, Mar 20, 2023 at 12:33:20AM -0700, Atharva Deore wrote:
>  I am trying to build sage using WSL, but it failed while 
> installing suitesparse. Please help me with this. I am attaching a log file 
> for reference.
> 
> Host system:
> Linux DESKTOP-LO8OV26 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 
> 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> ****************************************************
> C compiler: clang
> C compiler version:
> Ubuntu clang version 14.0.0-1ubuntu1
> Target: x86_64-pc-linux-gnu
> Thread model: posix
> InstalledDir: /usr/bin
> Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11
> Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/9
> Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11
> Candidate multilib: .;@m64
> Selected multilib: .;@m64
> ****************************************************
> Package 'suitesparse' is currently not installed
> No legacy uninstaller found for 'suitesparse'; nothing to do
...

> /usr/bin/ld: cannot find -lomp: No such file or directory

looks like you need to install an extra package here.
Try doing

   sudo apt install libomp-dev

and then run

   make 

again. You've probably run into this, as we don't test clang on Linux,
as far as I know.

HTH
Dima

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/ZBgy7AGipsZuYGpl%40hilbert.

Reply via email to