1
votes

I am trying to install SciPy following these instructions: http://www.scipy.org/Download

And constantly getting error to build them for OS X Lepeord 10.5.7:

dyld: lazy symbol binding failed: Symbol not found: _iconv_open Referenced from: /usr/lib/libaprutil-1.0.dylib Expected in: /opt/local/lib/libiconv.2.dylib

dyld: Symbol not found: _iconv_open Referenced from: /usr/lib/libaprutil-1.0.dylib Expected in: /opt/local/lib/libiconv.2.dylib

Traceback (most recent call last): File "setup.py", line 82, in FULLVERSION += svn_version() File "setup.py", line 74, in svn_version raise ValueError("Error while parsing svn version ?") ValueError: Error while parsing svn version ?

2

2 Answers

3
votes

Is it absolutely necessary for you to build SciPy from source? It seems like it would be much easier to install SciPy on Mac OS X Leopard by using the SciPy Superpack Installer (which is mentioned on the SciPy download page). That is how I installed SciPy, and I've never had any problems with it.

2
votes

The reason it's failing is that you have things installed in your /opt/local which are interfering with the system libraries. libiconv is installed in /usr/lib

MacPorts has a habit of messing up things. Unsetting the DYLD_LIBRARY_PATH when you run (and when you use) libraries like this would fix it.