On Jan 22, 9:14 pm, pong <wypon...@gmail.com> wrote:

Hi,

> I have a .spyx file which compiles and runs fine on my dept machine
> (running sage-3.2.1) but I couldn't compile it on my laptop (running
> sage-3.2.3 on linux). It complaints about
>
> Compiling spec.spyx...
> Error compiling cython file:
> Error compiling spec.spyx:
> ...
>
> /usr/bin/ld: cannot find -lstdc++
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1

You don't have libstdc++. so installed, which seems strange since it
is the default C++ runtime. Does g++ compile a sample hello world C++
program?

> I wonder if it's because sage isn't communicating with other programs,
> like gcc, on my machine or I missed something when I install gcc or
> both...
>
> Also I should mentioned that I install sage using the binaries instead
> of compiling it from the source... I wonder if that could be an issue
> as well..

I don't think there is a direct cause here.

> thanks in advance

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to