Hello everyone.

I'm trying to set up sage to work with pydev on Eclipse. So far, I've
managed to set the interpreter properly (it does seem to work
properly). The problem is that when I try to do this...

from sage.all import *

...I get the following error message "ImportError: libgnutls.so.26:
cannot open shared object file: No such file or directory". I don't
actually know why I'm getting this message as I've set the SAGE_ROOT
and LD_LIBRARY_PATH variables to the proper locations. I've set these
variables via python. Bellow is my (sample) code that was starting to
write when I came across this message.

====== START OF CODE =======

import sys
import os

os.environ.__setitem__('SAGE_ROOT', '/home/emerson/ProgramFiles/Sage')
os.environ.__setitem__('PATH', os.environ.__getitem__('SAGE_ROOT') +
':' + os.environ.__getitem__('PATH'))
os.environ.__setitem__('LD_LIBRARY_PATH',
os.environ.__getitem__('SAGE_ROOT')+'/local/lib')

# + os.environ.__getitem__('LD_LIBRARY_PATH') :/usr/lib/jvm/java-6-
sun-1.6.0.03/jre/lib/i386/client::/usr/lib/jvm/java-6-sun-1.6.0.03/jre/
lib/i386::/usr/lib/firefox/:/usr/lib/firefox/

print(os.environ.__getitem__('SAGE_ROOT'))
print(os.environ.__getitem__('PATH'))
print(os.environ.__getitem__('LD_LIBRARY_PATH'))

from sage.all import *

====== END OF CODE =======

If anyone could help me I'd appreciate. I'm really stuck at this :-(.

Thanks in advance.

----
Emerson

--~--~---------~--~----~------------~-------~--~----~
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