On 20/12/10 17:15 , Shaun Cutts wrote:
> 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.
If you really have 3rd party packages that install things into /usr/lib,
you should complain to the distributors. This is *very* bad style and
causes all sorts of problems. /usr/lib/ is reserved for Apple.
> 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
These, however, are probably installed by the system. I see there
costabel% ls -l /usr/lib/lib{atlas,blas}*
lrwxr-xr-x 1 root wheel 112 Aug 15 2009 /usr/lib/libatlas.dylib ->
../..//System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/libBLAS.dylib
lrwxr-xr-x 1 root wheel 112 Aug 15 2009 /usr/lib/libblas.dylib ->
../..//System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/libBLAS.dylib
If something really tries to overwrite /usr/lib/libatlas.dylib, it risks
destroying the Accelerate framework, which can make your system unusable.
--
Martin
>
> 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
>
------------------------------------------------------------------------------
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