Thanks, the problem is solved after installing libstdc++x-x.x-dev (in
my case x-x.x is 6-4.3) and related packages. (the installer knows the
dependence).
I include that here for others linux newbies who may encounter the
same problem.

On Jan 22, 10:55 pm, mabshoff <[email protected]
dortmund.de> wrote:
> On Jan 22, 9:14 pm, pong <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to