Hello, I've tried installing the latest version of basemap on OSX Lion and am getting the following error:
# ------------------- scotthenderson@basemap-1.0.6:python setup.py build ld: warning: ld: warning: ignoring file nad2bin.o, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): nad2bin.oignoring file src/pj_malloc.o, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): src/pj_malloc.o Undefined symbols for architecture i386: "_main", referenced from: -u command line option ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) ld: warning: ld: warning: ignoring file nad2bin.o, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): nad2bin.oignoring file src/pj_malloc.o, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): src/pj_malloc.o Undefined symbols for architecture i386: "_main", referenced from: -u command line option ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) Traceback (most recent call last): File "setup.py", line 97, in <module> cc.link_executable(objects, execname) File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/distutils/ccompiler.py", line 698, in link_executable debug, extra_preargs, extra_postargs, None, target_lang) File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/distutils/unixccompiler.py", line 262, in link raise LinkError, msg distutils.errors.LinkError: Command "cc -arch i386 nad2bin.o src/pj_malloc.o -o nad2bin" failed with exit status 1 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users