Alexander, David,

Thanks for the advice.

I must have installed packages in the "default locations" ... which is often 
/usr/local/lib, but in some cases is /usr/lib.

Rather than renaming /usr/lib, would renaming the individual libraries I have 
installed work? Is there a way to turn on diagnostics sufficient to see which 
dependencies might be causing scipy problems? (which ones it is finding 
somewhere besides /sw/lib?)

Here are two candidates:
$ ls /usr/lib/libatl*
/usr/lib/libatlas.dylib
$ ls /usr/lib/libbla*
/usr/lib/libblas.dylib

I do also have the fink version of altas installed:

i   atlas                 3.9.11-1         Portably optimal linear algebra 
software

>From Alexander's advice:

$ dpkg -p numpy-py27 | grep Version
Version: 1.5.0-1

Also I do have 
/sw/lib/python2.7/site-packages/numpy-1.5.0b1-py2.7-macosx-10.6-i386.egg as 
well as /sw/lib/python2.7/site-packages/numpy-1.5.0-py2.7.egg-info

but when I link site-packages/numpy to the version in 
/sw/lib/python2.7/site-packages/numpy-1.5.0b1-py2.7-macosx-10.6-i386.egg, I get 
the same error.

Again -- I'm grateful for any help.

Thanks,

-- Shaun


On Dec 12, 2010, at 8:10 AM, David R. Morrison wrote:

>> - -------- Original Message --------
>> Subject: Re: [Fink-users] problem installing scipy-py27
>> Date: Sun, 12 Dec 2010 02:06:28 -0500
>> From: Shaun Cutts <[email protected]>
>> 
> 
>> I do have some mathematical routines installed in /usr/lib ... I have
>> used a convex optimization package, for instance, which required
>> installing some other math libraries... but ... hopefully this isn't a
>> mortal sin :)  Is there a way to better diagnose what is going on and/or
>> to tell fink to use only its versions of math libraries?
> 
> It's not exactly a mortal sin, but it can cause problems.
> 
> The way the linker in OS X is designed, it is extremely difficult if not 
> impossible to hide things in /usr/lib or /usr/local/lib from the search paths 
> used to locate libraries and headers (and presumably python-ish stuff as 
> well).  This is why fink chose to do its own installs in a separate location, 
> and its also why we recommend against installing non-fink software in those 
> locations.
> 
> You say you have things in /usr/lib rather than /usr/local/lib?  That makes 
> this very difficult... If your only non-fink third party software was in 
> /usr/local/lib, we could simply tell you to try "mv /usr/local/lib 
> /usr/local/lib.bak; fink install foo; mv /usr/local/lib.bak /usr/local/lib".
> 
> However, you can't move /usr/lib out of the way like that, without breaking 
> lots of stuff :(
> 
> -- Dave
> 


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to