On Thursday 26 April 2007 08:17, William Stein wrote:
> Martin,
>
> On OS X your singular package almost, but doesn't exactly work.
> Basically it gets names libsingular.dylib. However when SAGE looks
> for it, it looks for libsingular.so. See the sessions below. If I just
> make a symlink libsingular.so --> libsingular.dylib then your code works,
> so you're very very close.
Did you apply the libsingular.hg patch? It is supposed to look for .dylib
under OSX now, like this:
lib = os.environ['SAGE_LOCAL']+"/lib/libsingular.so"
if os.path.exists(lib):
handle = dlopen(lib, 256+1)
else:
lib = os.environ['SAGE_LOCAL']+"/lib/libsingular.dylib"
if os.path.exists(lib):
handle = dlopen(lib, 256+1)
else:
raise ImportError, "cannot load libSINGULAR library"
Martin
PS: http://dobbertin.informatik.uni-bremen.de/~malb/libsingular.hg
--
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---