On Oct 20, 8:59 am, yegor <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'd like to call Sage from Java. As far as I understand, there is no
> ready solution yet.
>
> I suppose, one option would be to use sage notebook server, is there a
> document describing its communication protocol?
>
> Another option would be to use some generic way of calling Python from
> Java, e.g. Jepp -http://jepp.sourceforge.net/
> Jepp normally uses libpython2.x.so, for Sage I would need a similar
> shared library, but specific for Sage, right?
> I tried to repackage <SAGE>/local/lib/python2.5/config/libpython2.5.a
> as a shared library but it is apparently incomplete because I get
> complains about undefined symbol "floor".
You need to link in the math library, i.e. -lm and likely some other
things.
But I doubt that will work - what Mike suggested down below is likely
a much better solution.
> Any suggestions/hints are greatly appreciated.
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---