Hmmm,

This is odd.  Neither of the following worked.

On Sep 24, 12:05 pm, leif <not.rea...@online.de> wrote:
> On 24 Sep., 17:32, leif <not.rea...@online.de> wrote:
>
> You could try setting SAGE64 (which is in general useless on MacOS X
> 10.6, since it defaults to 64-bit builds), and rebuilding gd and all
> of its dependencies
> (which may take a while), by typing:
>
> $ export SAGE64=yes
> $ cd $SAGE_ROOT
> $ rm spkg/installed/gd-*
> $ env SAGE_UPGRADING=yes make build

Did that, waited for around ten minutes for the compile to finish, and
then had the same error:

   ImportError: dlopen(/Users/gross/sage-4.7.1/local/lib/python2.6/
site-packages/sage/matrix/matrix_mod2_dense.so, 2): Library not
loaded: /usr/local/lib/libfreetype.6.dylib
  Referenced from: /Users/gross/sage-4.7.1/local/lib//libgd.2.dylib
  Reason: Incompatible library version: libgd.2.dylib requires version
14.0.0 or later, but libfreetype.6.dylib provides version 10.0.0


> Alternatively, instead of setting SAGE64, you could just set / modify
> LDFLAGS as mentioned:
>
> $ export LDFLAGS="-L$SAGE_ROOT/local/lib $LDFLAGS"
>
> and proceed with the remaining three steps given above.

Same result.

I then installed freetype-2.4.6 and fontconfig-2.8.0 in /usr/local/
lib, and tried again with the same result.

>Of interest might also be the output of
>$ $SAGE_ROOT/local/bin/gdlib-config --ldflags

 $ $SAGE_ROOT/local/bin/gdlib-config --ldflags
-L/Users/gross/sage-4.7.1/local/lib -L/Users/gross/sage-4.7.1/local/
lib -m64 -L/Users/gross/sage-4.7.1/local/lib

>$ $SAGE_ROOT/local/bin/gdlib-config --libs

$ $SAGE_ROOT/local/bin/gdlib-config --libs
-lfontconfig -lfreetype -lpng12 -lz

Obviously, there is something peculiar to my system that's causing
this problem, if no one else has seen it.

Thanks for any more ideas.  This is a busy week for me, but I'll try
to test any suggestions as soon as they come in.


-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to