Install problem Ubuntu 10.10

338 views
Skip to first unread message

H

unread,
Apr 12, 2011, 12:55:36 PM4/12/11
to sage-support
Hi-
I have been trying to install Sage on my laptop running Ubuntu 10.10.
I downloaded the binary tar files and extracted them. I ran Sage in a
terminal, after it is done resetting paths there is ImportError
Traceback (most recent call last) and then it seems to import a bunch
of stuff. Everything looks standard until the end when I get

ImportError: libgfortran.so.3: cannot open shared object file: No such
file or directory
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

At this point I get the Sage prompt but it cannot do anything- for
example

sage: 2+2
---------------------------------------------------------------------------
NameError Traceback (most recent call
last)

/home/floopy/Sage/sage-4.6.2-linux-32bit-ubuntu_10.04_lts-i686-Linux-
i686-Linux/local/bin/<ipython console> in <module>()

NameError: name 'Integer' is not defined

Any thoughts?

H

unread,
Apr 12, 2011, 12:58:37 PM4/12/11
to sage-support

Colombel Bruno

unread,
Apr 12, 2011, 2:09:15 PM4/12/11
to sage-s...@googlegroups.com
Did you try to install gfortran ?
On my computer, (not with Ubuntu (but fedora)) :

"
$ yum provides libgfortran.so.3

libgfortran-4.5.1-4.fc14.i686 : Fortran runtime
Dépôt         : fedora"

you should try to do the same on Ubuntu ...

Maurice




--- En date de : Mar 12.4.11, H <hsko...@gmail.com> a écrit :
--
To post to this group, send email to sage-s...@googlegroups.com
To unsubscribe from this group, send email to sage-support+unsub...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

H

unread,
Apr 12, 2011, 6:52:39 PM4/12/11
to sage-support
Solved it- works perfectly now.
Thanks heaps,
Howard

On Apr 12, 2:09 pm, Colombel Bruno <brunocolom...@yahoo.fr> wrote:
> Did you try to install gfortran ?
> On my computer, (not with Ubuntu (but fedora)) :
>
> "
> $ yum provides libgfortran.so.3
>
> libgfortran-4.5.1-4.fc14.i686 : Fortran runtime
> Dépôt         : fedora"
>
> you should try to do the same on Ubuntu ...
>
> Maurice
>
> --- En date de : Mar 12.4.11, H <hskog...@gmail.com> a écrit :
> To unsubscribe from this group, send email to sage-support...@googlegroups.com

David Kirkby

unread,
Apr 15, 2011, 5:20:08 AM4/15/11
to sage-s...@googlegroups.com
On 12 April 2011 17:55, H <hsko...@gmail.com> wrote:
> Hi-
> I have been trying to install Sage on my laptop running Ubuntu 10.10.
> I downloaded the binary tar files and extracted them. I ran Sage in a
> terminal, after it is done resetting paths there is ImportError
> Traceback (most recent call last) and then it seems to import a bunch
> of stuff. Everything looks standard until the end when I get
>
> ImportError: libgfortran.so.3: cannot open shared object file: No such
> file or directory

I thought Sage binaries provided the fortran library, so I'm surprosed
you get this problem. But try:

$ sudo apt-get install gfortran


Dave

Reply all
Reply to author
Forward
0 new messages