On Wed, Mar 31, 2010 at 8:13 AM, William Stein <wst...@gmail.com> wrote: > On Wed, Mar 31, 2010 at 7:39 AM, K <hingk...@gmail.com> wrote: >> Hi, I want to apply this group. And I have problem on using sage >> version 4.3.5. I am using Mac OS X 10.6.3 intel. And I have downloaded >> source 4.3.4, compiled OK. Today I run ./sage -upgrade to upgrade the >> source, it also is worked and compile OK. But when I run it, it show >> error below: >> >> ImportError Traceback (most recent call >> last) >> >> /Users/abc/sage/local/lib/python2.6/site-packages/IPython/ipmaker.pyc >> in force_import(modname) >> 64 reload(sys.modules[modname]) >> 65 else: >> ---> 66 __import__(modname) >> 67 >> 68 >> >> /Users/abc/sage/local/bin/ipy_profile_sage.py in <module>() >> 5 preparser(True) >> 6 >> ----> 7 import sage.all_cmdline >> 8 sage.all_cmdline._init_cmdline(globals()) >> 9 >> >> /Users/abc/sage/local/lib/python2.6/site-packages/sage/all_cmdline.py >> in <module>() >> 12 try: >> 13 >> ---> 14 from sage.all import * >> 15 from sage.calculus.predefined import x >> 16 preparser(on=True) >> >> /Users/abc/sage/local/lib/python2.6/site-packages/sage/all.py in >> <module>() >> 71 >> 72 from sage.rings.all import * >> ---> 73 from sage.matrix.all import * >> 74 >> 75 # This must come before Calculus -- it initializes the Pynac >> library. >> >> >> /Users/abc/sage/local/lib/python2.6/site-packages/sage/matrix/all.py >> in <module>() >> ----> 1 >> 2 >> 3 from matrix_space import MatrixSpace, is_MatrixSpace >> 4 from constructor import matrix, Matrix, random_matrix, >> diagonal_matrix, identity_matrix, block_matrix, block_diagonal_matrix, >> jordan_block, zero_matrix >> 5 from matrix import is_Matrix >> 6 from berlekamp_massey import berlekamp_massey >> 7 >> >> /Users/abc/sage/local/lib/python2.6/site-packages/sage/matrix/ >> matrix_space.pyc in <module>() >> 38 import matrix_modn_sparse >> 39 >> ---> 40 import matrix_mod2_dense >> 41 #import matrix_mod2_sparse >> >> 42 >> >> ImportError: dlopen(/Users/abc/sage/local/lib/python2.6/site-packages/ >> sage/matrix/matrix_mod2_dense.so, 2): Library not loaded: /Users/abc/ >> sage-4.3.4/local/lib/libiconv.2.dylib >> Referenced from: /Users/abc/sage/local/lib//libgd.2.dylib >> Reason: Incompatible library version: libgd.2.dylib requires version >> 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0 >> Error importing ipy_profile_sage - perhaps you should run %upgrade? >> WARNING: Loading of ipy_profile_sage failed. >> >> Then I goto ~/sage/local/lib directory, the file libiconv.2.dylib is >> not found. >> >> Any more information you need? > > Unfortunately, the only real fix I can think of -- which might work -- > is to rebuild the gd spkg: > > sage -f gd-2.0.35.p4 gdmodule-0.56.p6 > > Please let me know if this fixes your problem.
I've *also* now updated the upgrade repo, so this problem shouldn't happen to anybody else. -- William -- 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 URL: http://www.sagemath.org To unsubscribe, reply using "remove me" as the subject.