Two copies of libfortran with different version numbers seem to indicate
two different versions of gfortran (and GCC) on your machine. You might
like to explicitly tell sage which one you want to use, the newer ones,
something like

./configure CC=gcc7 CXX=g++7 FC=gfortran7

And then rebuild from scratch...

On Mon, 28 Jan 2019 04:32 Ike Stoddard <[email protected] wrote:

> Scenario: building sage 8.6 from source.
> Build seems to want to make scipy-1.1.0.
> Final results were:
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all-start'):
>
> * package: scipy-1.1.0
>   log file: /usr/local/src/Misc/sage-8.6/logs/pkgs/scipy-1.1.0.log
>   build directory:
> /usr/local/src/Misc/sage-8.6/local/var/tmp/sage/build/scipy-1.1.0
>
> The build directory may contain configuration files and other potentially
> helpful information. WARNING: if you now run 'make' again, the build
> directory will, by default, be deleted. Set the environment variable
> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
>
> make[1]: *** [all-start] Error 1
> make[1]: Leaving directory `/usr/local/src/Misc/sage-8.6'
> make: *** [all] Error 2
>
> Examine log file and notice:
> Original error was: libgfortran.so.3: cannot open shared object file: No
> such file or directory
>
> But examination to find this shows
> >>> *locate libgfortran.so.*
> /usr/lib/libgfortran.so.5
> /usr/lib/libgfortran.so.5.0.0
> /usr/lib/gcc/x86_64-pc-linux-gnu/5.5.0/libgfortran.so.3
> /usr/lib/gcc/x86_64-pc-linux-gnu/5.5.0/libgfortran.so.3.0.0
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/libgfortran.so.3
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/libgfortran.so.3.0.0
> /usr/lib32/libgfortran.so.5
> /usr/lib32/libgfortran.so.5.0.0
>
> Trying subshell method:
>  /usr/local/src/Misc/sage-8.6>  (*cd
> '/usr/local/src/Misc/sage-8.6/local/var/tmp/sage/build/scipy-1.1.0' &&
> '/usr/local/src/Misc/sage-8.6/sage' --sh)*
>
> Starting subshell with Sage environment variables set.  Don't forget
> to exit when you are done.  Beware:
>  * Do not do anything with other copies of Sage on your system.
>  * Do not use this for installing Sage packages using "sage -i" or for
>    running "make" at Sage's root directory.  These should be done
>    outside the Sage shell.
>
> Bypassing shell configuration files...
>
> Note: SAGE_ROOT=/usr/local/src/Misc/sage-8.6
> (sage-sh) isaac@Light1DAW:scipy-1.1.0$ *pip install scipy*
> Collecting scipy
>   Downloading
> https://files.pythonhosted.org/packages/45/d1/7c2b33a5daee3d67752d043fe7e1476c4465788b0b6e59367fd71fdf684a/scipy-1.2.0-cp27-cp27mu-manylinux1_x86_64.whl
> (26.6MB)
>    ...
> Requirement already satisfied: numpy>=1.8.2 in
> /usr/local/src/Misc/sage-8.6/local/lib/python2.7/site-packages (from scipy)
> (1.15.4)
> Installing collected packages: scipy
> Successfully installed scipy-1.2.0
> (sage-sh) isaac@Light1DAW:scipy-1.1.0$ *exit*
> exit
>
> It hints that numpy needs reinstalling ** inside the install shell ** .
> I am at a loss as to how to proceed. I will attach the log file.
> Please help? Consider that I am a sysadmin but lost.
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to