Ask Your Question

Build error, libgfortran.spec

asked 2018-10-23 21:28:08 +0100

Walt Tuvell gravatar image

I'm building Sage 8.4 from source on my new laptop (Dell XPS 13, latest up-to-date Fedora 28). It goes fine until it get to OpenBLAS, where it dies with the error msg: "libgfortran.spec: No such file or directory."

I know math and computers, but I don't know Sage/OpenBLAS/Fortran at this level. So I need help.

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-10-24 00:00:32 +0100

Walt Tuvell gravatar image

Oops, my bad! Turns out I didn't have gfortran installed correctly, re-install fixed the problem ...

edit flag offensive delete link more


Well done. You can accept your own answer to mark the question as solved.

slelievre gravatar imageslelievre ( 2018-10-24 00:22:45 +0100 )edit

Could you please provide more details for those of us having the same problem? How do you install gfortran incorrectly? It's installed via the package manager 'dnf' in Fedora.

Using built-in specs.
Target: x86_64-redhat-linux

Thread model: posix
gcc version 8.2.1 20181105 (Red Hat 8.2.1-5) (GCC)


pstrang_w_rzekle gravatar imagepstrang_w_rzekle ( 2018-12-13 00:19:36 +0100 )edit

In my case I had gcc installed but not gcc-fortran. I think either you should go with SAGE_INSTALL_GCC=yes and ask sage to completely install gcc or go with SAGE_INSTALL_GCC=no you install all gcc component yourself. Because I only relied no SAGE to install gfortran, I think that is how it failed.

syed gravatar imagesyed ( 2018-12-21 22:17:41 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-10-23 21:28:08 +0100

Seen: 578 times

Last updated: Oct 24 '18