OK, I managed to build with the setupext.py list empty as you  
specified. However, for some reason, the resulting matplotlib egg  
*still* looks for dynamic libraries in /usr/local:

ImportError: dlopen(/Library/Python/2.5/site-packages/ 
matplotlib-0.98pre-py2.5-macosx-10.5-i386.egg/matplotlib/_path.so, 2):  
Library not loaded: /usr/local/lib/libpng12.0.dylib
  Referenced from: /Library/Python/2.5/site-packages/ 
matplotlib-0.98pre-py2.5-macosx-10.5-i386.egg/matplotlib/_path.so
  Reason: image not found

This is pretty bizarre.

On 12/01/2008, at 12:42 PM, Charlie Moad wrote:

> I just had to rebuild the OSX binary because a similar reason.  I
> forgot to change the basedir['darwin'] entry in setupext.py.  Around
> line 50.....
>
> Change:
>   'darwin' : ['/sw/lib/freetype2', '/sw/lib/freetype219', '/usr/ 
> local',
>               '/usr', '/sw', '/usr/X11R6'],
> To:
>   'darwin' : [],
>
> This will ensure you don't pick up shared libraries over the static
> ones since they are preferred by gcc.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to