[sage-devel] Re: ImportError: dlopen

2011-09-26 Thread Rob Gross
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

[sage-devel] Re: ImportError: dlopen

2011-09-26 Thread John H Palmieri
On Monday, September 26, 2011 9:28:24 AM UTC-7, Rob Gross wrote: 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. Have you tried Dima's suggestion? Just to be safe, I would start with a fresh download of the Sage

[sage-devel] Re: ImportError: dlopen

2011-09-26 Thread leif
On 26 Sep., 18:28, Rob Gross robert.gross.1...@gmail.com wrote: 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

[sage-devel] Re: ImportError: dlopen

2011-09-26 Thread leif
On 26 Sep., 22:36, leif not.rea...@online.de wrote: On 26 Sep., 18:28, Rob Gross robert.gross.1...@gmail.com wrote: 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

[sage-devel] Re: ImportError: dlopen

2011-09-26 Thread Rob Gross
On Sep 26, 12:53 pm, John H Palmieri jhpalmier...@gmail.com wrote: Have you tried Dima's suggestion?  Just to be safe, I would start with a fresh download of the Sage source.  Then either rename /usr/local to something else... OK, that worked. I didn't even have to rebuild everything (at

[sage-devel] Re: ImportError: dlopen

2011-09-24 Thread leif
On 23 Sep., 23:26, Rob Gross robert.gross.1...@gmail.com wrote: Hi, I'm trying to compile 4.7.1.  The compile on Mac OS 10.6.8 proceeds without errors, though I get an error building documentation similar to the error below.  When I try to run sage, though, I get the error ImportError:

[sage-devel] Re: ImportError: dlopen

2011-09-24 Thread leif
On 24 Sep., 17:32, leif not.rea...@online.de wrote: This smells like a bug in the gd spkg, not linking gd to *Sage's* libfreetype. Will investigate... Hmmm, this is a bit strange. Despite that we *don't* add '-L $SAGE_LOCAL/lib' to LDFLAGS (unless $SAGE64=yes, which you could try), we

[sage-devel] Re: ImportError: dlopen

2011-09-24 Thread leif
On 24 Sep., 18:05, leif not.rea...@online.de wrote: $ ldd /tmp/Sage/sage-4.7.2.alpha2/local/lib/libgd.so         linux-vdso.so.1 =  (0x7fff92fff000)         libfontconfig.so.1 = /usr/lib/libfontconfig.so.1 (0x7f6867599000)         libfreetype.so.6 =

[sage-devel] Re: ImportError: dlopen

2011-09-24 Thread Dima Pasechnik
Library not loaded: /usr/local/lib/libfreetype.6.dylib Sage normally does not use any stuff from /usr/local/ and it is not safe to have some random stuff there when building it. What happens is that instead of using $SAGE_ROOT/local/lib/libfreetype.6.dylib it tries to load the one in

[sage-devel] Re: ImportError: dlopen

2011-09-24 Thread Dima Pasechnik
I forgot to say that for me Sage builds on MacOSX 10.6.8 just fine (I set SAGE64=yes, perhaps this is not even needed any more) Dima -- 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